E D R , A S I H C RSS

Full text search for "function 함수명() end"

function 함수명() end


Search BackLinks only
Display context of search results
Case-sensitive searching
  • VendingMachine/세연/1002 . . . . 132 matches
         bool isEndMenu (int choice) {
          while(isEndMenu (choice))
          MENU_END = 0,
         bool isEndMenu (int choice) {
          return choice != MENU_END;
          MENU_END = 0,
          VendingMachine.GetMoney();
          VendingMachine.Buy();
          VendingMachine.TakeBackMoney();
          VendingMachine.InsertDrink();
          case MENU_END:
          return choice >= MENU_END && choice <= MENU_INSERT_DRINK;
          MENU_ENDCODE = 0,
          MENU_END = MENU_INSERT_DRINK
         MENU_END 뜻이 달라졌으므로, 앞에서 MENU_END를 썼었던 다른 것들도 고칩니다.
          case MENU_ENDCODE:
         bool isEndMenu (int choice) {
          return choice != MENU_ENDCODE;
          return choice >= MENU_START && choice <= MENU_END;
          case MENU_ENDCODE:
  • WOWAddOn/2011년프로젝트/초성퀴즈 . . . . 67 matches
         function HelloWoW_ShowMessage()
         end
         WoW API function을 lua에 넣어준적은 없지만 자동으로 되나보다.
         또한 Widget과 LuaFunction의 사용정보를 볼수 있다.
         function HelloWoW_ShowMessage()
          end
          end
          end
          end
         end
         function HelloWoW_ShowMessage()
         end
         function charLen(str)
          end
         end
         function samplingFirst(str)
         end
         function cstc(len, str)
         end
         function makingTable(str)
  • EightQueenProblem/da_answer . . . . 58 matches
          end;
          procedure Button1Click(Sender: TObject);
          function getNextQueenPos(index, X, Y:integer):boolean;
          function checkRule(X,Y:integer):boolean;
          end;
         procedure TForm1.Button1Click(Sender: TObject);
         end;
          end;
          end;
          end
          end;
          end;
         end;
         function TForm1.getNextQueenPos(index, X, Y:integer):boolean;
          end
          end
          end;
          end;
          end
          end;
  • VonNeumannAirport/1002 . . . . 51 matches
          CPPUNIT_TEST_SUITE_END();
          CPPUNIT_TEST_SUITE_END();
          int endCity;
          Configuration (int startCity, int endCity) {
          this->endCity = endCity;
          void movePeople (int startCity, int endCity, int people) {
          void movePeople (int startCity, int endCity, int people) {
          Configuration (vector<int> startCity, vector<int> endCity) {
          this->endCity = endCity;
          void movePeople (int startCity, int endCity, int people) {
          void movePeople (int startCity, int endCity, int people) {
         C:\User\reset\AirportSec\main.cpp(84) : error C2660: 'getDistance' : function does not take 2 parameters
          int getDistance (int startCity, int endCity) {
         C:\User\reset\AirportSec\main.cpp(24) : error C2660: 'getDistance' : function does not take 0 parameters
          void movePeople (int startCity, int endCity, int people) {
          void movePeople (int startCity, int endCity, int people) {
          traffic += getDistance (startCity, endCity) * people;
          int getDistance (int startCity, int endCity) {
          int getDistance (int startCity, int endCity) {
          int getDistance (int startCity, int endCity) {
  • 만년달력/인수 . . . . 49 matches
         === Calendar.java ===
         public class Calendar {
          public Calendar(int year, int month) {
          public int[] getCalendar() {
         === CalendarTestCase.java ===
         public class CalendarTestCaseTest extends TestCase {
          Calendar calendar = new Calendar(1,1);
          public CalendarTestCaseTest(String arg) {
          private int[] getExpectedCalendar(int start) {
          for(int i = start ; i < calendar.getNumOfDays() + start ; ++i)
          int real[] = calendar.getCalendar();
          calendar.set(1, i + 1);
          int expected[] = getExpectedCalendar(expectedSet[i]);
          calendar.set(2, monthSet[i]);
          assertEqualsArray( getExpectedCalendar(expectedSet[i]) );
          calendar.set(4, i + 1);
          int expected[] = getExpectedCalendar(expectedSet[i]);
          calendar.set(2003, i + 1);
          int expected[] = getExpectedCalendar(expectedSet[i]);
          calendar.set(1, monthSet[i]);
  • 김희성/리눅스계정멀티채팅2차 . . . . 45 matches
         int send_i(int client_socket,char* arry)//명령어 전송
          send(client_socket, buff_snd, strlen(buff_snd)+1,0);
         int send_m(int client_socket,char arry[])//메세지 전송
          send(client_socket, buff_snd, strlen(buff_snd)+1,0);
          send_i(client_socket,"i");
          send_m(client_socket,"ID is wrong");
          send_m(client_socket,"ID is being used.");
          send_i(client_socket,"p");//password 요구
          send_m(client_socket, "password is wrong");
          send_i(client_socket,"a");//접속 확인
          send_i(client_socket,"i");
          send_m(client_socket,"ID is already existing..");
          send_i(client_socket,"p");//password 요구
          send_i(client_socket,"a");//접속 확인
          send_m(client_socket_array[t_num-1],"<Command list>");
          send_m(client_socket_array[t_num-1],"help : show list of command");
          send_m(client_socket_array[t_num-1],"list : show list of online user");
          send_m(client_socket_array[t_num-1],"message \"ID\" \"message\" : send message to ID");
          send_m(client_socket_array[t_num-1],"\n");
          send_m(client_socket_array[t_num-1],"<Online user list>");
  • AcceleratedC++/Chapter6 . . . . 41 matches
         ret.insert(ret.end(), bottom,begin(), bottom.end());
         copy(bottom.begin(), bottom.end(), back_inserter(ret));
         copy(bottom.begin(), bottom.end(), ret.end());
          * 앞에서도 말했지만, end()에는 아무것도 없다.
          while(i != str.end()) {
          i = find_if(i, str.end(), not_space); // 공백이 아닌 부분을 찾고
          iter j = find_if(i, str.end(), space); // 공백인 부분을 찾아서
          if(i != str.end())
          * 또한 제네릭 알고리즘은 end()를 깔끔하게 처리해준다. 우리가 신경안써도 된다는 것이다.
          return equal(s.begin(), s.end(), s.rbegin());
         #endif
         string::const_iterator url_end(string::const_iterator, string::const_iterator);
          iter b = s.begin(), e = s.end();
          iter after = url_end(b, e);
         string::const_iterator url_end(string::const_iterator b, string::const_iterator e)
          find(url_ch.begin(), url_ch.end(), c) != url_ch.end());
          while ((i = search(i, e, sep.begin(), sep.end())) != e) {
          // make sure the separator isn't at the beginning or end of the line
          return ((find(s.homework.begin(), s.homework.end(), 0)) ==
          s.homework.end());
  • AcceleratedC++/Chapter8 . . . . 38 matches
         = Chapter 8 Writing generic functions =
         WikiPedia:Generic_function : 함수를 호출하기 전까지는 그 함수의 매개변수 타입이 무엇인지 알 수 없는 함수.
         == 8.1 What is a generic function? ==
         WikiPedia:Generic_function : 함수의 호출시 인자 타입이나 리턴타입을 사용자가 알 수없다. ex)find(B,E,D)
         반복자를 생각해보자. 만약 특정 자료구조가 반복자를 리턴하는 멤버함수를 갖는 다면 반복자를 인자로 받는 function들에 대해서 그 자료구조는 유효하다고 판단할 수 있다.
          sort(v.begin(), v.end());
         #endif
          {{{~cpp ex) accumulate(v.begin(), v.end(), 0.0); // 만약 0:int를 사용했다면 올바른 동작을 보장할 수 없다.}}}
         == 8.2 Data-structure independence ==
          || find(c.begin(), c.end(), val) || 일반적인 함수의 작성 가능. 반복자를 통해서 반복자가 제공하는 방식으로 동작가능 ||
          {{{~cpp template <class In, class X> In find(In begin, In end, const X& x) {
          while(begin != end && *begin != x)
         template <class In, class X> In find(In begin, In end, const X& x) {
          if (begin == end || *begin == x)
          return find(begin, end, x);
          상기 2개의 구현 모두 begin, end iterator를 순차적으로 접근하고 있음을 알 수 있다. 상기의 함수를 통해서 순차 읽기-전용의 반복자는 '''++(전,후위), ==, !=, *'''를 지원해야한다는 것을 알 수 있다. 덧 붙여서 '''->, .'''와 같은 멤버 참조 연산자도 필요로하다. (7.2절에 사용했떤 연산자이다.)
         template <class In, class Out> Out copy(In begin, In end, Out dest) {
          if (begin != end)
         template <class For, class X> void replace(For begin, For end, const X& x, const X& y) {
          while (beg != end) {
  • JavaScript/2011년스터디/URLHunter . . . . 38 matches
          function redraw(){
          function spawn(){
          function gametimer(){
          function init(){
          function pause(){
          function keyevent(){
         var replash = function(){
         var URLChange = function(){
         function KeyInput(e){
         function Timer(g){
          this.templus = function(){
         function Creature(){
          this.right = function(){
          this.left = function(){
         function Monster(w){
          this.randomMove = function(){
         function Hunter(w){
         function Map(){
          this.makeS = function(){
          this.deada1 = function(){ this.a1.alive = false; }
  • Slurpys/강인수 . . . . 38 matches
         function HasDorEAtFirst (const S: String): Boolean;
         function HasGAtLast (const S: String; APos: Integer): Boolean;
         function FindF (const S: String): Integer;
         function IsSlump (const S: String): Boolean;
         function IsSlimp (const S: String): Boolean;
         function IsSlurpy (const S: String): Boolean;
         function HasDorEAtFirst (const S: String): Boolean;
         end;
         function HasGAtLast (const S: String; APos: Integer): Boolean;
         end;
         function FindF (const S: String): Integer;
          end;
          end else
          end;
          end;
          end;
         end;
         function IsSlump (const S: String): Boolean;
          end;
          end;
  • 숫자야구/강희경 . . . . 38 matches
          cout << endl << "제작: 강희경 두둥~!!" << endl;
          cout << "쓰리 볼~ " <<endl;
          cout << "투 볼~ "<<endl;
          cout << "원 볼~ "<<endl;
          cout << endl;
          cout << "쓰리 스트라이크~ " <<endl;
          cout << "☞숫자야구: 컴퓨터가 랜덤하게 3자리의 숫자를 정하면" << endl;
          cout << " 사용자는 그 숫자를 맞추는 것입니다." << endl;
          cout << "☞스트라이크: 자리수와 숫자를 둘 다 맞춤," << endl;
          cout << " 쓰리스트라이크는 경기 종료~" << endl;
          cout << "☞볼: 숫자는 맞췃으나 자리수가 틀림" << endl;
          cout << "☞아웃: 다 틀림" << endl;
          cout << "☞예: 컴퓨터가 123을 고르면 521는 원스트라이크 원볼," << endl;
          cout << " 567은 아웃 !, 123은 쓰리스트라이크!" << endl;
          cout << "---------------------------------------------------" << endl;
          cout << "1. 게임 설명 2. 게임 하기" << endl;
          cout << "3. 종료" << endl;
          cout << "---------------------------------------------------" << endl;
          cout << "잘못 입력하셨습니다." << endl;
          cout << "컴퓨터가 숫자를 고르고 있습니다." << endl;
  • Code/RPGMaker . . . . 34 matches
         public class RMFillBox extends RMObject2D {
          public RMFillBox(Vector2f vStart, Vector2f vEnd, Color color)
          init(vStart.x, vStart.y, vEnd.x, vEnd.y, color);
         public class RMLine extends RMObject2D {
          public RMLine(Vector2f vStart, Vector2f vEnd, float width, Color color)
          Vector3f v3End = new Vector3f(vEnd.x, vEnd.y, z);
          lineVector.sub(v3End, v3Start);
          (vEnd.x + normal.x), (vEnd.y + normal.y), z,
          (vEnd.x - normal.x), (vEnd.y - normal.y), z
          SimpleVector toCam = MainRenderer.getCamera().getPosition().calcSub(curPosition);
          float a = MainRenderer.getCamera().getPosition().z - this.depth;
          end
          end
          end
          end
          end
          end
          end
          end
          end
  • LIB_3 . . . . 33 matches
         WAIT 와 SUSPEND 그리고 FREE 큐로 나누어 질 수 있다.
         SUSPEND는 인터럽트를 대기하던가? 아님 뭔가를 기다리기 위해 실행이 중지된 상태? 자원이겠찌?
          pSuspend_heap[count] = NULL;
          suspend_tcb_ptr = 0;
         SUSPEND 된 TASK 들을 다시 살려주는 고마운 펑션
          for ( int i = 0; i<= suspend_tcb_ptr ; i++ ) {
          if ( pSuspend_heap[i]->priority == priority ) {
          pReady_heap[ready_tcb_ptr] = pSuspend_heap[i];
          pSuspend_heap[i] = pSuspend_heap[suspend_tcb_ptr];
          pSuspend_heap[suspend_tcb_ptr] = NULL;
          suspend_tcb_ptr--;
         SUSPEND 큐에 넣어주고
         void LIB_suspend_task(INT16U priority){
          // ready -> suspend
          pSuspend_heap[++suspend_tcb_ptr] = pReady_heap[i];
          if ( pSuspend_heap[i] == task) {
          pFreeTCB[free_tcb_ptr] = pSuspend_heap[i];
          pSuspend_heap[i] = pSuspend_heap[suspend_tcb_ptr];
          pSuspend_heap[suspend_tcb_ptr] = NULL;
          suspend_tcb_ptr--;
  • 손동일/TelephoneBook . . . . 33 matches
          fout << tel_num << endl;
          fout << name << endl;
          fout << group << endl;
          fout << memo << endl;
          cout << "> 전화번호부 (입력:1, 검색:2, 끝내기:3)" << endl;
         // cout << "메뉴 들어갑니다. " << endl;
          cout << compare << endl;
          cout << compare2 << endl << compare3 << endl << compare4<<endl<<compare5<< endl;
         // cout << "for 문이 끝났습니다. " << endl;
         // cout << compare2 << endl << compare3 << endl << compare4 << endl << compare5 << endl;
          cout << "> 검색항목선택 (전화번호:1, 이름:2, 그룹명:3)" << endl;
          cout << "전화번호 : " << compare2 << endl;
          cout << "이름 : " << compare3 << endl;
          cout << "그룹명 : " << compare4 << endl;
          cout << "메모 : " << compare5 << endl;
          cout << "아직 미완성 입니다." <<endl;
         // cout << compare2 << endl << compare3 << endl << compare4 << endl << compare5 << endl;
          cout << "아직 미완성 입니다." <<endl;
         // cout << compare2 << endl << compare3 << endl << compare4 << endl << compare5 << endl;
          cout << "(수정:1, 삭제:2, 상위메뉴:3) " << endl;
  • 경시대회준비반/BigInteger . . . . 32 matches
          // End of the location of the number in the array
          SizeT End;
          friend BigInteger& operator+(BigInteger const&, BigInteger const&);
          friend BigInteger& operator-(BigInteger const&, BigInteger const&);
          friend BigInteger& operator*(BigInteger const&, BigInteger const&);
          friend BigInteger& operator*(BigInteger const&, DATATYPE const&);
          friend BigInteger& operator*(DATATYPE const&, BigInteger const&);
          friend BigInteger& DivideAndRemainder(BigInteger const&, BigInteger const&,BigInteger&,bool);
          friend BigInteger& DivideAndRemainder(BigInteger const&, DATATYPE const&,DATATYPE&,bool);
          friend BigInteger& operator/(BigInteger const&, BigInteger const&);
          friend BigInteger& operator/(BigInteger const&, DATATYPE const&);
          friend BigInteger& operator/(DATATYPE const&, BigInteger const&);
          friend BigInteger& operator%(BigInteger const&, BigInteger const&);
          friend BigInteger& operator%(BigInteger const&, DATATYPE const&);
          friend BigInteger& operator%(DATATYPE const&, BigInteger const&);
          friend ostream& operator<<(ostream& , BigInteger const&);
          friend istream& operator>>(istream& , BigInteger& );
          friend BigInteger& abs(BigInteger&);
          // Conversion functions
          End = bytes - 1;
  • EightQueenProblem/밥벌레 . . . . 31 matches
          procedure FormPaint(Sender: TObject);
          procedure Button1Click(Sender: TObject);
          end;
         end;
         function CountRow(row: Integer): Integer;
         end;
          end;
         end;
         function CheckQueens: Boolean; // 제대로 배치되었는지 검사하는 함수.
          function CountColumn(column: Integer): Integer;
          end;
          function CountSlash(column: Integer): Integer;
          end;
          end;
          function CountBackSlash(column: Integer): Integer;
          end;
          end;
          end;
         end;
          end;
  • JavaScript/2011년스터디/김수경 . . . . 30 matches
         function gugu(dan){
         function gu(){
         function g(){
         function s(){
         var Person = Class.extend({
          init: function(isDancing){
          dance: function(){
         var Ninja = Person.extend({
          init: function(){
          dance: function(){
          swingSword: function(){
         (function(){
          var initializing = false, fnTest = /xyz/.test(function(){xyz;}) ? /\b_super\b/ : /.*/;
          this.Class = function(){};
          Class.extend = function(prop) {
          // Check if we're overwriting an existing function
          prototype[name] = typeof prop[name] == "function" &&
          typeof _super[name] == "function" && fnTest.test(prop[name]) ?
          (function(name, fn){
          return function() {
  • RandomWalk2/Insu . . . . 30 matches
          bool CheckEndCourse();
         #endif
          cout << _nTotalVisitCount << endl << endl;
          cout << endl;
          while( !CheckEndCourse() && !CheckCompletelyPatrol() )
         bool RandomWalkBoard::CheckEndCourse()
          bool CheckEndCourse();
         #endif
          cout << _nTotalVisitCount << endl << endl;
          cout << endl;
          while( !CheckEndCourse() && !CheckCompletelyPatrol() )
         bool RandomWalkBoard::CheckEndCourse()
          bool CheckEndCourse() const;
         #endif
         #endif
          cout << _Roach.GetTotalVisitCount() << endl << endl;
          cout << endl;
          while( !CheckEndCourse() && !CheckCompletelyPatrol() )
         bool RandomWalkBoard::CheckEndCourse() const
          bool CheckEndCourse() const;
  • MedusaCppStudy/석우 . . . . 29 matches
         using std::endl;
          cout << endl << endl;
          cout << endl;
          cout << endl;
         using std::endl;
          sort(numbers.begin(),numbers.end());
          cout << endl;
         using std::endl; using std::vector;
          sort(length.begin(), length.end());
          cout << "가장 짧은 string: " << length[0] << endl;
          cout << "가장 긴 string: " << length[length.size() - 1] << endl;
          cout << endl;
          cout << endl;
          cout << "총 움직인 횟수는 " << roach.count << "입니다." << endl;
          cout << "어디 한번 문장을 입력해보게나(마지막엔 ';'를 입력해야하네) " << endl << ">>";
          sort(sentence.begin(), sentence.end(), compare);
          cout << sentence[j].name << "\t" << sentence[j].count << endl;
          cout << endl << "총 단어수: " << sentence.size() << endl;
          * Vending machine
         void vend(int& won, vector<Drinks>& vec, const vector<Drinks>::size_type& i);
  • 데블스캠프2006/월요일/함수/문제풀이/이장길 . . . . 28 matches
          cout<<"대원수, 권총수, 보트수를 차례대로 입력하세요."<<endl;
          cout<<"ture"<<endl;
          cout<<"die"<<endl;
          cout<<ran()<<endl;
          cout<<"첫째야"<<endl<<endl;
          cout<<"둘째야"<<endl<<endl;
          cout<<"셋째야"<<endl<<endl;
          cout<<"넷째야"<<endl<<endl;
          cout<<"다섯째야"<<endl<<endl;
          cout<<"여섯째야"<<endl<<endl;
          cout<<"막내야"<<endl<<endl;
          cout<<"공주야"<<endl<<endl;
          cout<<"첫째입니다."<<endl;
          cout<<"둘째입니다."<<endl;
          cout<<"셋째입니다."<<endl;
          cout<<"넷째입니다."<<endl;
          cout<<"다섯째입니다."<<endl;
          cout<<"여섯째입니다."<<endl;
          cout<<"일곱째입니다."<<endl;
          cout<<"공주입니다."<<endl;
  • 영호의바이러스공부페이지 . . . . 28 matches
         what our good friend Patti Hoffman (bitch) has written about it.
          infection occurred. Infected files will also always end with this
         s endp
         sub_1 endp
         seg_a ends
          end start
         what the virus does is use the DOS 4Eh function to find the firsy COM file
         functions to infect.
         INT 21h Function 42h
         If there is an error in executing this function the carry flag will be set,
         The second (and most) important function used by any virus is
         INT 21h Function 40h
         An example of Function 40h is ----
          mov ah,40h ;set function
         This function is used by 98% of all MS-DOS viruses to copy itself to a
         So the best thing to do to some Mcafee dependant sucker, or lame board is
         go to the end of the file. At the end of the file go to the edit screen and
         You see? You didn't change the way the code functions (THATS IF YOU KNOW
         function that can be used to cifer and decifer data with the same key.
         XOR function.
  • MFC/MessageMap . . . . 27 matches
          afx_msg LRESULT OnAcceptClient(WPARAM wParam, LPARAM lParam); // 이부분에 이렇게 정의한 메시지를 실행할 함수를 넣어준다. 함수명은 하고 싶은데로..
         end messagemap
         m_pWnd->SendMessage(UM_ACCEPTCLIENT);
          // ClassWizard generated virtual function overrides
          // NOTE - the ClassWizard will add and remove member functions here.
         END_MESSAGE_MAP()
          클래스의 정의 부분에 DECLARE_MESSAGE_MAP()을 포함했다면 그 클래스의 구현 부분에는 반드시 BEGIN_MESSAGE_MAP(), END_MESSAGE_MAP()매크로가 반드시 추가되어야 한다. 이 부분에서는 WM_COMMAND 형태를 갖는 메시지 만을 처리하고 있다.
          // ClassWizard generated virtual function overrides
         END_MESSAGE_MAP()
         #define WM_QUERYENDSESSION 0x0011
         #define WM_ENDSESSION 0x0016
         #endif /* WINVER >= 0x0400 */
         // end_r_winuser
         #endif /* WINVER >= 0x0500 */
         #define PWR_SUSPENDREQUEST 1
         #define PWR_SUSPENDRESUME 2
         // end_r_winuser
         #endif /* WINVER >= 0x0400 */
         #define WM_IME_ENDCOMPOSITION 0x010E
         #endif /* WINVER >= 0x0400 */
  • JavaScript/2011년스터디/서지혜 . . . . 26 matches
          function init() {
          function putn(value) {
          function operator(value) {
          function calc() {
          function reset() {
         function duple_test() {
          function inner() {
         function duple_test() {
          function () {
         function duple_test() {
          var one = function () {
         function duple_test() {
          (function () {
         function one(){
          function two() {
          function three() {
         function arg_test(one, two) {
         function Class_test(one, two) {
         function MyClass(id, name){
         function Parent(m, f) {
  • 기본데이터베이스/조현태 . . . . 26 matches
         void function_insert();void function_modify();void function_delete();void function_undelete();void function_search();void function_list();void function_quit();void function_help();
          void (*functions[MAX_MENU])(void)={function_insert,function_modify,function_delete,function_undelete,function_search,function_list,function_quit,function_help};
          functions[selected_number]();
         void function_insert()
         void function_modify()
         void function_delete()
         void function_undelete()
         void function_search()
         void function_list()
         void function_quit()
         void function_help()
  • .bashrc . . . . 25 matches
         shopt -s histappend histreedit
         function _exit() # 쉘에서 종료시 실행할 함수
         function fastprompt()
         function powerprompt()
         function xtitle ()
         function man ()
         function ll(){ ls -l "$@"| egrep "^d" ; ls -lXB "$@" 2>&-| egrep -v "^d|total "; }
         function xemacs() { { command xemacs -private $* 2>&- & } && disown ;}
         function te() # xemacs/gnuserv 래퍼
         function ff() { find . -name '*'$1'*' ; } # 파일 찾기
         function fe() { find . -name '*'$1'*' -exec $2 {} \; ; } # 파일을 찾아서 $2 의 인자로 실행
         function fstr() # 여러 파일중에서 문자열 찾기
         function cuttail() # 파일에서 끝의 n 줄을 잘라냄. 기본값은 10
         function lowercase() # 파일이름을 소문자로 변경
         function swap() # 파일이름 두개를 서로 바꿈
         function my_ps() { ps $@ -u $USER -o pid,%cpu,%mem,bsdtime,command ; }
         function pp() { my_ps f | awk '!/awk/ && $0~var' var=${1:-".*"} ; }
         function killps() # 프로세스 이름으로 kill
         function my_ip() # IP 주소 알아내기
         function ii() # 현재 호스트 관련 정보들 알아내기
  • AcceleratedC++/Chapter14 . . . . 25 matches
         using std::endl;
          sort(students.begin(), students.end(), compare_Core_handles);
          // `students[i]' is a `Handle', which we dereference to call the functions
          << setprecision(prec) << endl;
          cout << e.what() << endl;
         #endif
         #endif
         #endif
          friend std::istream& operator>>(std::istream&, Str&);
          friend std::istream& getline(std::istream&, Str&);
          std::copy(s.data->begin(), s.data->end(),
          iterator end() { return data->end(); }
          const_iterator end() const { return data->end(); }
          return std::lexicographical_compare(lhs.begin(), lhs.end(), rhs.begin(), rhs.end());
          return std::lexicographical_compare(rhs.begin(), rhs.end(), lhs.begin(), lhs.end());
          return !std::lexicographical_compare(rhs.begin(), rhs.end(), lhs.begin(), lhs.end());
          return !std::lexicographical_compare(lhs.begin(), lhs.end(), rhs.begin(), rhs.end());
          std::equal(lhs.begin(), lhs.end(), rhs.begin());
         #endif
  • 서지혜/Calendar . . . . 25 matches
          * Calendar class
         public class Calendar {
          * Calendar class
         class Calendar
          @year = CalendarFactory.new.create(year)
          end
          end
         end
          end
          end
         end
          end
          end
          end
         end
          * CalendarFactory class
         class CalendarFactory
          end
          end
          end
  • 하욱주/Crap . . . . 25 matches
          cout << "당신의 재산은 $" << money << " 입니다." << endl
          cout << "당신의 재산보다 많습니다. 다시 배팅해 주십시오." <<endl;
          cout << "$10~$100 사이로 입력해 주십시오." << endl;
          cout << "당신이 배팅하신 금액은 $" << beting <<" 입니다." << endl
          << "어디에 거시겠습니까?" << endl
          << "|----------------------------------|" <<endl
          << "| Number | 배팅 | 지불 |" <<endl
          << "|--------+------------+------------|" <<endl
          << "| 1 | 2 or 12 | 5:1 |" <<endl
          << "| 2 | 4 or 10 | 2.5:1 |" <<endl
          << "| 3 | 6 or 8 | 1.5:1 |" <<endl
          << "|----------------------------------|" <<endl
          cout << num <<"번을 택하셨습니다. 그럼 게임을 진행합니다." <<endl
          << "첫번째 주사위의 숫자는 :" << sq1 << endl
          << "두번째 주사위의 숫자는 :" << sq2 << endl
          << "두 주사위의 합은 : " << sq1+sq2 <<endl;
          cout << "당신이 승리하셨습니다." <<endl
          cout << "당신이 패배하셨습니다."<<endl;
          cout << "당신이 승리하셨습니다." <<endl
          cout << "당신이 패배하셨습니다."<<endl;
  • JavaScript/2011년스터디/CanvasPaint . . . . 24 matches
          function draw()
          function hold()
          function release()
          function undo()
          img.onload = function(){
          function selectColor(temp)
          function drawMethod(temp)
          function drawColor()
          function drawDotPoint()
          function drawLines()
         function aldo(){
         function bldo(){
         function cldo(){
          img.onload = function(){
         function InitEvent(){
         var tool_pencil = function(){
          this.mousedown = function(e){
          this.mousemove = function(e){
          this.mouseup = function(e){
         var tool_line = function(){
  • 2학기파이선스터디/서버 . . . . 23 matches
          conn.send('Already resistered name\n')
          conn.send('[%s] Welcome!\n'%name) # 본인에게 가는 메시지
          conn.send(msg)
          self.request.send('Name ? ')
          line.append(data)
          self.send('Already resistered name\n')
          self.append(Users(self.ID, self.message, self.isinEntry))
          self.send('[%s] Welcome!\n'%self.ID) # 본인에게 가는 메시지
         # conn.send(msg)
          conn.send(u.ID)
         ## self.request.send('Name ? ')
          line.append(data)
          conn.send('Already resistered name\n')
          conn.send('[%s] Welcome!\n'%name) # 본인에게 가는 메시지
          conn.send(msg)
          conn.send(true)
          conn.send(false)
         ## self.request.send('Name ? ')
          line.append(data)
          def sendMessage(self, event):
  • AcceleratedC++/Chapter11 . . . . 23 matches
         e=vs.end();
          begin, end, size 함수를 구현해야 하므로 이러한 작업을 위해서 '''첫 요소의 주소, 마지막 요소를 하나 지난 주소, 요소들의 개수'''를 저장할 수 있어야한다.
          size는 begin, end 를 통해서 그 크기를 구하는 것이 가능하므로 여기서는 '''첫 요소의 주소, 마지막 요소를 하나 지난 주소'''를 저장하고 개수는 계산을 통해서 구현한다.
          만약 오버로드 연산자가 멤버함수가 아니라면(friend 함수) 좌측 피연산자는 첫번째 인수, 우측 피연산자는 두번재 인수로 나타낼 수 있다.
          iterator end() { return limit; }
          const_iterator end() const { return limit; }
          Vec(const Vec& v) { create(v.begin(), v.end() ); } // copy constructor
          create(rhs.begin(), rhs.end());
          소멸자의 형태는 생성자와 마찬가지로 반환형이 없으며 객체 형명과 동일한 함수명을 갖는 대신에 첫 글자로 ~를 가져야 한다.
          iterator end() { return avail; }
          const_iterator end() const { return avail; }
          unchecked_append(val);
          Vec(const Vec& v) { create(v.begin(), v.end()); }
          unchecked_append(t);
          iterator end() { return avail; } // changed
          const_iterator end() const { return avail; } // changed
          // support functions for `push_back'
          void unchecked_append(const T&);
         template <class T> void Vec<T>::unchecked_append(const T& val)
          create(rhs.begin(), rhs.end());
  • CppStudy_2002_2/객체와클래스 . . . . 23 matches
         == vending.h ==
         #ifndef _VENDING_H_
         #define _VENDING_H_
         class Vending
          Vending();
         #endif
         == vending.cpp ==
         #include "vending.h"
         Vending::Vending()
         void Vending::insertCoin()
         void Vending::extortCoin()
         void Vending::mainMenu()
         void Vending::buyBeverage()
         void Vending::update()
         == useVending.cpp ==
         #include "vending.h"
          Vending vending;
          vending.mainMenu();
          vending.insertCoin();
          vending.buyBeverage();
  • 5인용C++스터디/클래스상속보충 . . . . 22 matches
          void SendToSMSServer(string number, string message)
          void SendMessage(string number, string message)
          SendToSMSServer(number, message);
          void SendToSMSServer(string number, string message)
          cout << "Send to SK SMS Server... " << number << " " << message << endl;
          void SendToSMSServer(string number, string message)
          cout << "Send to KTF SMS Server... " << number << " " << message << endl;
          skp.SendMessage("0112345678", "Hello!");
          ktfp.SendMessage("0167890123", "Hi!!");
          virtual void SendToSMSServer(string number, string message)
          void SendMessage(string number, string message)
          SendToSMSServer(number, message);
          void SendToSMSServer(string number, string message)
          cout << "Send to SK SMS Server... " << number << " " << message << endl;
          void SendToSMSServer(string number, string message)
          cout << "Send to KTF SMS Server... " << number << " " << message << endl;
          skp.SendMessage("0112345678", "Hello!");
          ktfp.SendMessage("0167890123", "Hi!!");
  • AcceleratedC++/Chapter13 . . . . 22 matches
          private 보호 레이블로 지정된 멤버는 그 클래스 자체, friend 함수를 통해서만 직접적으로 접근이 가능하다. 이 경우 상속된 클래스에서는 부모 클래스의 private 멤버로의 접근이 필요한데 이럴때 '''protected'''라는 키워드를 사용하면 좋다.
         == 13.2 Polymorphism and virtual functions ==
         #endif
          sort(students.begin(), students.end(), compare);
          <<setprecision(prec)<<endl;
          cout<<e.what()<<endl;
          sort(students.begin(), students.end(), compare);
          <<setprecision(prec)<<endl;
          cout<<e.what()<<endl;
         using std::endl;
          sort(students.begin(), students.end(), compare_Core_ptrs);
          // `students[i]' is a pointer that we dereference to call the functions
          << setprecision(prec) << endl;
          cout << e.what() << endl;
         #endif
          friend class Student_info;
          friend class Student_info; 를 사용함으로해서 Student_info의 모든 멤버함수는 Core의 protected, private에 접근하는 것이 가능하다.
          Student_info 클래스에서 Grad::clone()를 직접적으로 호출하는 경우가 없기 때문에 friend로 선언하지 않아도 무관하다.
         using std::endl;
          sort(students.begin(), students.end(), Student_info::compare);
  • C/C++어려운선언문해석하기 . . . . 22 matches
         typedef a b(); // b is a function that returns
         typedef b *c; // c is a pointer to a function
         typedef c d(); // d is a function returning
         // a pointer to a function
         typedef d *e; // e is a pointer to a function
         // function that returns a
         // functions returning pointers to
         // functions returning pointers to chars.
         위의 선언문은 변수 p를 char를 입력 인자로 하고 int를 리턴하는 함수를 가리키는 포인터(a pointer to a function that takes a char
         function that take two floats and returns a pointer to a pointer to a char)는 다음과 같이 선언합니다.
         (an array of 5 pointers to functions that receive two const pointers to chars and return void pointer)은 어떻게 선언하면 될까요
         3. Jump out of parentheses and encounter (int) --------- to a function that takes an int as argument
         4. Jump out of parentheses, go right to find () ------ to functions
         6. Jump out, go right, find () ----------------------- to functions
         float ( * ( *b()) [] )(); // b is a function that returns a
         // to functions returning floats.
         void * ( *c) ( char, int (*)()); // c is a pointer to a function that takes
         // function that takes no
         char **(*)(char *, char **)); // d is a pointer to a function that takes
         // to a function that takes two parameters:
  • CalendarMacro . . . . 22 matches
         {{{[[Calendar]] [[Calendar(200407)]]}}} diary mode
         ||[[Calendar]]||[[Calendar(200407)]]||
         {{{[[Calendar(noweek)]] [[Calendar(shortweek)]]}}}
         ||[[Calendar(noweek)]] || [[Calendar(shortweek)]] ||
         {{{[[Calendar(noweek,yearlink)]]}}} show prev/next year link
         [[Calendar(noweek,yearlink)]]
         {{{[[Calendar("WkPark",blog)]]}}} blog mode
         [[Calendar("WkPark",blog)]]
         {{{[[Calendar(blog)]]}}} blog mode
         [[Calendar(blog)]]
         {{{[[Calendar("Blog",blog)]]}}} blog mode with default page
         [[Calendar("Blog",blog)]]
         {{{[[Calendar("Blog",shortweek,archive,blog)]]}}}
         [[Calendar("Blog",shortweek,archive,blog)]]
         {{{[[Calendar(noweek,archive)]] [[Calendar(shortweek,archive)]]}}}
         ||[[Calendar(noweek,archive)]] || [[Calendar(shortweek,archive)]] ||
  • MatrixAndQuaternionsFaq . . . . 22 matches
         This FAQ is maintained by "hexapod@netcom.com". Any additional suggestions or related questions are welcome. Just send E-mail to the above address.
         Q44. How can I render a matrix?
          perform image processing functions such as convolution.
          4x4 matrices are used to perform high-end 3D animation. Operations
          6 trigonometric functions
          6 trigonometric functions 0 0
          Depending upon the size of the matrix, the calculation of the inverse
          This can be implemented using a pair of 'C' functions:
          An efficient way is to make use of the existing 'C' functions defined
          Having a function that can calculate the inverse of any 4x4 matrix is
          functions.
          Euler angles. Because the final rotation matrix depends on the order
          if the camera were being rendered as another object.
         === Q44. How can I render a matrix? ===
          An alternative to rendering numeric data is to make use of graphical
          is rendered as an individual bar-graph in the range -1 to +1.
          Quaternions extend the concept of rotation in three dimensions to
          Depending on this value, calculate the following:
          A quaternion can be converted to spherical coordinates by extending
          generated using a blending equation with the parameter T, which
  • PythonNetworkProgramming . . . . 22 matches
         sock.send("TEST")
         def_msg = "==Enter message to send to server=="
          if(UDPSock.sendto(data,addr)):
          print "Sending message '",data,"'..."
          clientConnection.send("hahaharn")
          conn.send (msg)
          ClientList.append (peername)
          ClientConnections.append (conn)
         class FileSendChannel(asyncore.dispatcher, Thread):
          print "file send channel create."
          print "file send channel start."
          self.fileSendMain()
          def fileSendMain(self):
          sended = self.send(data)
          currentReaded+=sended
          print "current : %d, sended : %d"%(currentReaded, sended)
          print "send completed..."
         class FileSendServer(asyncore.dispatcher):
          channel = FileSendChannel(connection, address)
          server = FileSendServer()
  • SuperMarket/인수 . . . . 22 matches
          cout << sm.getRestMoney() << endl;
          cout << "OK" << endl;
          cout << " 메뉴 " << endl;
          cout << _havingGoods[i].getName() << " " << _havingGoods[i].getCost() << endl;
          cout << _havingGoods[i].getCost() << endl;
          cout << "그런 물건 없음!" << endl;
          cout << "None" << endl;
          cout << _buyedGoods[i].getGoods().getName() << " " << _buyedGoods[i].getCount() << endl;
          cout << "can't buy" << endl;
          cout << "그 물건 안샀어요." << endl;
          cout << "산 것보다 더 많이 취소 못합니다." << endl;
          cout << "* deposit <money> -- 돈을 money만큼 예금한다. " << endl;
          cout << "* mymoney -- 남은 돈을 보여준다." << endl;
          cout << "* buy <product> <count> -- product 물건을 count 만큼 산다." << endl;
          cout << "* inventory -- 산 물건의 목록을 보여준다 ." << endl;
          cout << "* cancel <product> <count> -- 산 product 물건을 count개만큼 취소한다 ." << endl;
          cout << "* ask <product> -- procuct 물건의 가격을 묻는다 ." << endl;
          cout << "* menu -- 구매 가능한 물건의 목록을 보여준다 ." << endl;
          cout << "* exit -- 가게를 나간다 ." << endl;
          cout << sm.getRestMoney() << endl;
  • VendingMachine/세연/재동 . . . . 22 matches
         class VendingMachine
          VendingMachine();
         VendingMachine::VendingMachine()
         void VendingMachine::insertMoney()
         void VendingMachine::buyDrink()
         void VendingMachine::takeBackMoney()
         void VendingMachine::insertDrink()
         void VendingMachine::showMainMenu()
         void VendingMachine::showDrinkMenu()
         bool VendingMachine::isMoney(int arg)
         bool VendingMachine::isBuyableDrink(int arg)
         bool VendingMachine::isSelectableDrink(int arg)
          VendingMachine vendingMachine;
          vendingMachine.showMainMenu();
          vendingMachine.insertMoney();
          vendingMachine.buyDrink();
          vendingMachine.takeBackMoney();
          vendingMachine.insertDrink();
         3. 클래스명과 함수명 그리고 변수명을 좀 더 평범하게 변형
         See Also ["VendingMachine/세연"]
  • 데블스캠프2013/셋째날/머신러닝 . . . . 22 matches
          Console.WriteLine("END");
          testClass.append(trainClass[similiarIndex]);
          cout << "File Open Finished" << endl;
          trainDataList.insert(trainDataList.end(), line);
          cout << "index : " << idx++ << endl;
          cout << "data[0] : " << line[0] << endl;
          trainClassList.insert(trainClassList.end(), line);
          testDataList.insert(testDataList.end(), line);
          cout << "File load Finished" << endl;
          cout << "similiar index : " << similiarIndex << endl;
          testClass.insert(testClass.end(), trainClassList[similiarIndex]);
          outputFile << testClass[i] << endl;
          ofs << category[mincat] << endl;
          cout<<"read Train Data...."<<endl;
          cout<<"read Train class...."<<endl;
          cout<<"read Test Data...."<<endl;
          cout<<"find Class..."<<endl;
          cout<<"end of find class"<<endl;
          cout<<"training..."<<endl;
          cerr<<"error occur!"<<endl;
  • AcceleratedC++/Chapter7 . . . . 21 matches
         using std::endl;
          it != counters.end(); ++it) {
          cout << it->first << "\t" << it->second << endl;
         using std::endl; using std::getline;
          it != words.end(); ++it)
          it != ret.end(); ++it) {
          while (line_it != it->second.end()) {
          cout << endl;
          Rule(entry.begin() + 1, entry.end()));
         //Recursive function call 재귀 함수의 이용
          if (it == g.end())
          for(Rule::const_iterator i = r.begin(); i != r.end(); ++i)
          map<class T>.find(K) : 주어진 키를 갖는 요소를 찾고, 있다면 그 요소를 가리키는 반복자를 리턴한다. 없다면 map<class T>.end()를 리턴한다.
          while (it != sentence.end()) {
          cout << endl;
         using std::endl; using std::find;
          Rule(entry.begin() + 1, entry.end()));
          if (it == g.end())
          for (Rule::const_iterator i = r.begin(); i != r.end(); ++i)
          while (it != sentence.end()) {
  • Java/ModeSelectionPerformanceTest . . . . 21 matches
          long end;
          end = System.currentTimeMillis();
          System.out.println("if - else elapsed time :" + (end - start) + "ms ");
          long end;
          end = System.currentTimeMillis();
          System.out.println("elapsed time :" + (end - start) + "ms ");
          long end;
          end = System.currentTimeMillis();
          System.out.println("reflection with method initialize table elapsed time :" + (end - start) + "ms ");
          end = System.currentTimeMillis();
          System.out.println("reflection with method elapsed time :" + (end - start) + "ms ");
          long end;
          end = System.currentTimeMillis();
          System.out.println("interface table lookup init table elapsed time :" + (end - start) + "ms ");
          end = System.currentTimeMillis();
          System.out.println("interface table lookup elapsed time :" + (end - start) + "ms ");
          long end;
          end = System.currentTimeMillis();
          System.out.println("interface reflection & table lookup init able elapsed time :" + (end - start) + "ms ");
          end = System.currentTimeMillis();
  • OpenGL스터디_실습 코드 . . . . 21 matches
         //callback for rendering
         void RenderScene(void)
         void TimerFunction(int value)
          glutTimerFunc(33, TimerFunction, 1);
          glutDisplayFunc(RenderScene);
          glutTimerFunc(33, TimerFunction, 1);
         //callback for rendering
         void RenderScene(void)
          glEnd();
         //change window size event function
          glutDisplayFunc(RenderScene);
         void RenderScene()
          glEnd();
         //menu event function
          //repaint by calling callback function
         //key event function
          //repaint by calling callback function
          //register callback function & event function
          glutDisplayFunc(RenderScene);
         //redering function
  • WebGL . . . . 21 matches
          * WebGL은 기존 OpenGL과 다르게 직접 그리기가 지원되지 않는다. 기존의 glBegin()와 glEnd()사이에서 값을 계속적으로 전달하수 없고 오직 glDrawElement()를 통한 배열을 한꺼번에 전달하는 것'만' 지원한다. 초보자들의 첫난관이다.
         #endif
         var init = function(){
          function(callback){
          function(callback){
          ], function (err, data){
         function onReady(gl, buffer, shader){
          function onDraw(){
         function ajax(url, callback){
          ajax.onreadystatechange = function(){
          ajax.send(null);
         //Lib function
         function getGLContext(){
          canvas = [].filter.call(canvas, function(element){
         function GLBuffer(gl, model){
          //only binded buffer can send data
         function GLShader(gl, vertexSource, fragmentSource){
          function checkCompile(shader){
         GLShader.prototype.getUniformLocation = function(name){
         GLShader.prototype.uniform4fv = function(name, arr){
  • html5/webSqlDatabase . . . . 21 matches
         if(!!window.openDatabase) {
         html5rocks.webdb.open = function() {
          html5rocks.webdb.db = openDatabase('Todo', '1.0', 'todo manager', dbSize);
         html5rocks.webdb.onError = function(tx, e) {
         html5rocks.webdb.onSuccess = function(tx, r) {
          // re-render all the data
         html5rocks.webdb.createTable = function() {
          html5rocks.webdb.db.transaction(function(tx) {
         html5rocks.webdb.addTodo = function(todoText) {
          html5rocks.webdb.db.transaction(function(tx){
         html5rocks.webdb.getAllTodoItems = function(renderFunc) {
          html5rocks.webdb.db.transaction(function(tx) {
          tx.executeSql('SELECT * FROM todo', [], renderFunc,
         function loadTodoItems(tx, rs) {
          rowOutput += renderTodo(rs.rows.item(i));
         function renderTodo(row) {
         html5rocks.webdb.deleteTodo = function(id) {
          html5rocks.webdb.db.transaction(function(tx) {
         function init() {
         function addTodo() {
  • InternalLinkage . . . . 20 matches
         The second subtlety has to do with the interaction of inlining and static objects inside functions. Look again at the code for the non-member version of thePrinter: ¤ Item M26, P17
         Except for the first time through this function (when p must be constructed), this is a one-line function — it consists entirely of the statement "return p;". If ever there were a good candidate for inlining, this function would certainly seem to be the one. Yet it's not declared inline. Why not? ¤ Item M26, P18
         Consider for a moment why you'd declare an object to be static. It's usually because you want only a single copy of that object, right? Now consider what inline means. Conceptually, it means compilers should replace each call to the function with a copy of the function body, but for non-member functions, it also means something else. It means the functions in question have internal linkage.
         You don't ordinarily need to worry about such linguistic mumbo jumbo, but there is one thing you must remember: functions with internal linkage may be duplicated within a program (i.e., the object code for the program may contain more than one copy of each function with internal linkage), and this duplication includes static objects contained within the functions. The result? If you create an inline non-member function containing a local static object, you may end up with more than one copy of the static object in your program! So don't create inline non-member functions that contain local static data.(9)
         9) In July 1996, the °ISO/ANSI standardization committee changed the default linkage of inline functions to external, so the problem I describe here has been eliminated, at least on paper. Your compilers may not yet be in accord with °the standard, however, so your best bet is still to shy away from inline functions with static data. ¤ Item M26, P61
          // friend 함수에서 호출된다.
         와 같은 의미가 된다. 이것은 inline 으로 선언할거리가 될것 같기도 하지만 inline 으로 선언되지 않았다. 왜일까? (Except for the first time through this function (when p must be constructed), this is a one-line function — it consists entirely of the statement "return p;". If ever there were a good candidate for inlining, this function would certainly seem to be the one. Yet it's not declared inline. Why not? )
         하지만 InternalLinkage가 초례하는 문제는 1996 {{{~cpp ISO/ANSI C++ }}} 표준화 작업에서 인라인함수(InlineFunction)를 ExternalLinkage 로 변경해서 문제가 되지 않는다.(최근의 컴파일러들은 지원한다.).
  • MoreEffectiveC++/Appendix . . . . 20 matches
         == Recommended Reading ==
         So your appetite for information on C++ remains unsated. Fear not, there's more — much more. In the sections that follow, I put forth my recommendations for further reading on C++. It goes without saying that such recommendations are both subjective and selective, but in view of the litigious age in which we live, it's probably a good idea to say it anyway. ¤ MEC++ Rec Reading, P2
         There are hundreds — possibly thousands — of books on C++, and new contenders join the fray with great frequency. I haven't seen all these books, much less read them, but my experience has been that while some books are very good, some of them, well, some of them aren't. ¤ MEC++ Rec Reading, P4
         What follows is the list of books I find myself consulting when I have questions about software development in C++. Other good books are available, I'm sure, but these are the ones I use, the ones I can truly recommend. ¤ MEC++ Rec Reading, P5
         A good place to begin is with the books that describe the language itself. Unless you are crucially dependent on the nuances of the °official standards documents, I suggest you do, too. ¤ MEC++ Rec Reading, P6
         I generally refer to this as "the LSD book," because it's purple and it will expand your mind. Coplien covers some straightforward material, but his focus is really on showing you how to do things in C++ you're not supposed to be able to do. You want to construct objects on top of one another? He shows you how. You want to bypass strong typing? He gives you a way. You want to add data and functions to classes as your programs are running? He explains how to do it. Most of the time, you'll want to steer clear of the techniques he describes, but sometimes they provide just the solution you need for a tricky problem you're facing. Furthermore, it's illuminating just to see what kinds of things can be done with C++. This book may frighten you, it may dazzle you, but when you've read it, you'll never look at C++ the same way again. ¤ MEC++ Rec Reading, P27
         The magazine has made a conscious decision to move away from its "C++ only" roots, but the increased coverage of domain- and system-specific programming issues is worthwhile in its own right, and the material on C++, if occasionally a bit off the deep end, continues to be the best available. ¤ MEC++ Rec Reading, P42
         As the name suggests, this covers both C and C++. The articles on C++ tend to assume a weaker background than those in the C++ Report. In addition, the editorial staff keeps a tighter rein on its authors than does the Report, so the material in the magazine tends to be relatively mainstream. This helps filter out ideas on the lunatic fringe, but it also limits your exposure to techniques that are truly cutting-edge. ¤ MEC++ Rec Reading, P45
         Below are two presentations of an implementation for auto_ptr. The first presentation documents the class interface and implements all the member functions outside the class definition. The second implements each member function within the class definition. Stylistically, the second presentation is inferior to the first, because it fails to separate the class interface from its implementation. However, auto_ptr yields simple classes, and the second presentation brings that out much more clearly than does the first. ¤ MEC++ auto_ptr, P3
         friend class auto_ptr<U>; // friends of one another
         Here is auto_ptr with all the functions defined in the class definition. As you can see, there's no brain surgery going on here: ¤ MEC++ auto_ptr, P5
          template<class U> friend class auto_ptr<U>;
         This won't make auto_ptr any less functional, but it will render it slightly less safe. For details, see Item 5. ¤ MEC++ auto_ptr, P7
         If your compilers lack support for member templates, you can use the non-template auto_ptr copy constructor and assignment operator described in Item 28. This will make your auto_ptrs less convenient to use, but there is, alas, no way to approximate the behavior of member templates. If member templates (or other language features, for that matter) are important to you, let your compiler vendors know. The more customers ask for new language features, the sooner vendors will implement them. ¤ MEC++ auto_ptr, P8
  • ProjectPrometheus/AT_RecommendationPrototype . . . . 20 matches
          self.bookList.append(aNewBook)
          self.bookList.append(aBook)
          def getRecommendationBookList(self):
          bookList.append((self.bookRelation[book], book))
          returnList.append(bookdata[1])
          def getRecommendationBookListLimitScore(self, aScore):
          bookList.append((self.bookRelation[book], book))
          returnList.append(bookdata[1])
         class TestRecommendationSystem(unittest.TestCase):
          def testRecommendationBookList(self):
          bookList = self.book1.getRecommendationBookList()
          def testRecommendationBookListBig(self):
          bookList = self.book1.getRecommendationBookList()
          bookList = self.book2.getRecommendationBookList()
          bookList = self.book3.getRecommendationBookList()
          bookList = self.book4.getRecommendationBookList()
          def testRecommendationBookListLimitScore(self):
          limitedBookList = self.book1.getRecommendationBookListLimitScore(15)
          def testRecommendationBookListLimitScoreMore(self):
          limitedBookList = self.book1.getRecommendationBookListLimitScore(15)
  • Ruby/2011년스터디/세미나 . . . . 20 matches
          end
          end
          end
          end
          end
          def Some.function
          # dynamic function declare
          end
          end
          end
          Some2.function2 # undefined method
          def Some.function2
          # new function
          end
          Some.function2 # works!
          * 메서드는 {} 대신 def/end
          end
          end
          end
         end
  • SpiralArray/Leonardong . . . . 20 matches
          def setBoundary( self, start, end ):
          self.end = end
          elif ( coordinate[ROW] >= self.end ):
          elif ( coordinate[COL] >= self.end ):
          self.setBoundary( self.start+amount, self.end-amount )
          self.history.append( Point( self.coordinate, self.moveCount+1 ) )
          self.history.append( Point( self.coordinate, self.moveCount+1 ) )
          self.matrix.append( [Point((-1,-1),-1)] * size )
          self.board.setBoundary(start=0, end=self.size)
          def setBoundary( self, start, end ):
          self.end = end
          elif ( coordinate[ROW] >= self.end ):
          elif ( coordinate[COL] >= self.end ):
          self.setBoundary( self.start+amount, self.end-amount )
          self.history.append( Point( self.coordinate, self.moveCount() ) )
          if ( board.end - board.start != 1 ):
          self.matrix.append( [Point((-1,-1),-1)] * size )
          self.board.setBoundary(start=0, end=self.size)
  • whiteblue/MyTermProject . . . . 20 matches
          cout << "\t◆ 메뉴 ◆" << endl
          << "1) 과목별 입력 결과 리스트 " << endl
          << "2) 과목별 성적순 리스트 " << endl
          << "3) 학생 전과목 입력 결과 리스트 " << endl
          << "4) 학생 전과목 성적순 리스트 " << endl
          << "5) 종료 " << endl << endl
          cout << "\t◇과목 선택 메뉴◇" << endl
          << "1) 국어" << endl
          << "2) 영어" << endl
          << "3) 수학" << endl
          cout << "이름\t번호\t국어" << endl;
          cout << "이름\t번호\t영어" << endl;
          cout << "이름\t번호\t수학" << endl;
          cout << "이름\t번호\t국어" << endl;
          cout << "이름\t번호\t영어" << endl;
          cout << "이름\t번호\t수학" << endl;
          cout << l[i].name << "\t" << l[i].number << " " << *(n+(i*14)) << endl;
          cout << "이름\t번호\t국어\t영어\t수학\t총점\t평균\t등급" << endl;
          << "\t" << m[i].ave << "\t" << m[i].grade << endl;
  • whiteblue/MyTermProjectForClass . . . . 20 matches
         #endif
         #endif
         #endif
          cout << "이름\t번호\t\t국어\t영어\t수학\t총점\t평균" << endl;
          << endl;
          cout << "\t국어" << endl;
          cout << "\t영어" << endl;
          cout << "\t수학" << endl;
          << endl;
          cout << "\t◆ 메뉴 ◆" << endl
          << "1) 과목별 입력 결과 리스트 " << endl
          << "2) 과목별 성적순 리스트 " << endl
          << "3) 학생 전과목 입력 결과 리스트 " << endl
          << "4) 학생 전과목 성적순 리스트 " << endl
          << "5) 종료 " << endl << endl
          cout << "\t◇과목 선택 메뉴◇" << endl
          << "1) 국어" << endl
          << "2) 영어" << endl
          << "3) 수학" << endl
  • 김희성/리눅스계정멀티채팅 . . . . 20 matches
          send(client_socket, buff_snd, strlen(buff_snd)+1,0);
          send(client_socket, buff_snd, strlen(buff_snd)+1,0);
          send(client_socket, buff_snd, strlen(buff_snd)+1,0);
          send(client_socket, buff_snd, strlen(buff_snd)+1,0);//id 요구
          send(client_socket, buff_snd, strlen(buff_snd)+1,0);//password 요구
          send(client_socket, buff_snd, strlen(buff_snd)+1,0);//접속 확인
          send(client_socket, buff_snd, strlen(buff_snd)+1,0);//id 요구
          send(client_socket, buff_snd, strlen(buff_snd)+1,0);//password 요구
          send(client_socket, buff_snd, strlen(buff_snd)+1,0);//접속 확인
          send(client_socket_array[i],buff_snd,strlen(buff_snd)+1,0);
          send(client_socket, buff_snd, strlen(buff_snd)+1,0);
          send(client_socket_array[i],buff_snd,strlen(buff_snd)+1,0);
          send(client_socket_array[i],buff_snd,strlen(buff_snd)+1,0);
          printf("write message to send : ");
          printf("write message to send : ");
          if(send(client_socket, buff_snd, strlen(buff_snd)+1,0)<=0)
          send(client_socket, buff_snd, strlen(buff_snd)+1,0);
          send(client_socket,buff_snd,strlen(buff_snd)+1,0);
          send(client_socket,buff_snd,strlen(buff_snd)+1,0);
          send(client_socket,buff_snd,strlen(buff_snd)+1,0);
  • 데블스캠프2012/셋째날/앵그리버드만들기 . . . . 20 matches
         function Loop()
         function clearCanvas()
         function drawBird()
         function move(t)
         function Bird()
         Bird.prototype.shoot = function(dx, dy)
         Bird.prototype.move = function(deltaTime)
         Bird.prototype.cheekStop = function()
         function Game()
          elem.addEventListener("mousedown", function(e){
          elem.addEventListener("mouseup", function(e){
         Game.prototype.onMouseUp = function(e)
         Game.prototype.run = function()
          setTimeoutOnContext(this, function(){
         Game.prototype.drawScreen = function()
         Game.prototype.move = function(deltaTime)
         Game.prototype.chk = function()
         function setTimeoutOnContext(context, func, time)
          setTimeout(function(){
         function getXY(e)
  • FortuneCookies . . . . 19 matches
          * He who spends a storm beneath a tree, takes life with a grain of TNT.
          * Money may buy friendship but money can not buy love.
          * Expect a letter from a friend who will ask a favor of you.
          * You are dishonest, but never to the point of hurting a friend.
          * Economy makes men independent.
          * You will hear good news from one you thought unfriendly to you.
          * You are farsighted, a good planner, an ardent lover, and a faithful friend.
          * Beware of friends who are false and deceitful.
          * You recoil from the crude; you tend naturally toward the exquisite.
          * Far duller than a serpent's tooth it is to spend a quiet youth.
          * The attacker must vanquish; the defender need only survive.
          * Everybody ought to have a friend.
          * Lend money to a bad debtor and he will hate you.
          * How you look depends on where you go.
          * Domestic happiness and faithful friends.
          * The time is right to make new friends.
          * You like to form new friendships and make new acquaintances.
          * With clothes the new are best, with friends the old are best.
          * A well-known friend is a treasure.
  • LUA_4 . . . . 19 matches
         >function foo()
         >>end
         function
         [ function 함수명() end ] 형태로 함수를 만들 수 있습니다.
         > function sum(a,b)
         >> end
         > function sum(...) -- 가변 매개변수를 받는다.
         >> for i = 1, #arg do sum = sum + arg[i] end
         >> end
         > function scope()
         >> end
         > function scope1()
         >> function scope2()
         >> end
         >> end
         변수 범위는 이 밖에도 다양한 이슈를 만들 수 있습니다. 예를 들면 do ~ end 문에서도 local 로 범위를 한정할 수 있고 function 자체도 변수와 같이 범위(scope)를 한정하여 사용할 수 있습니다. 또한 local을 사용하지 않으면 전역 범위 내에서 변수나 함수 자체를 접근/변경할 수 있습니다.
  • MoreEffectiveC++/Miscellany . . . . 19 matches
         "변화한다.", 험난한 소프트웨어의 발전에 잘 견디는 클래스를 작성하라. (원문:Given that things will change, writeclasses that can withstand the rough-and-tumble world of software evolution.) "demand-paged"의 가상 함수를 피하라. 다른 이가 만들어 놓지 않으면, 너도 만들 방법이 없는 그런 경우를 피하라.(모호, 원문:Avoid "demand-paged" virtual functions, whereby you make no functions virtual unless somebody comes along and demands that you do it) 대신에 함수의 ''meaning''을 결정하고, 유도된 클래스에서 새롭게 정의할 것인지 판단하라. 그렇게 되면, 가상(virtual)으로 선언해라, 어떤 이라도 재정의 못할지라도 말이다. 그렇지 않다면, 비가상(nonvirtual)으로 선언해라, 그리고 차후에 그것을 바꾸어라 왜냐하면 그것은 다른사람을 편하게 하기 때문이다.;전체 클래스의 목적에서 변화를 유지하는지 확신을 해라.
         #endif
         #endif
         int * find(int *begin, int *end, int value)
          while (begin != end && *begin != value) ++begin;
         이 함수는 해당 목표 시점의 시작과 끝 상에 해당 값이 있는가를 찾는다. 그리고 배열상에 해당 적당한 수를 처음 만나면 반환한다.; 만약 찾지 못하면, end를 반환한다.
         end를 반환하는 것은 단순한 평범한 방법으로 재미있게 보인다. 0(null pointer)이 더 좋지 않을까? 확실히 null은 더 자연스럽게 보이겠지만 "더 좋지"는 않다. 찾는 함수는 반드시 검색이 실패함을 의미하는 어떠한 뚜렷한 포인터 값을 반환해야만 한다. 그런 목적으로 end 포인터는 null만큼 좋다. 거기에다가 우리가 이제 곧 보게될, null 포인터 보다 다른 container 형으로 일반화 시키는 것을 알수 있다.
         솔찍히 이것은 아마 당신이 찾기 함수(find function)를 작성한 방법이 아니다. 그렇지만 결코 멍청한 것이 아니고, 그것은 매우 훌륭히 일반화 된다. 당신이 이와 같은 간단한 예제를 따르면, STL에서 찾을수 있는 대다수의 생각들을 가지고 있는거다.
         당신은 찾기 함수(find function)를 다음과 같이 사용할수 있다.
         T * find(T *begin, T *end, const T& value)
          while (begin != end && *begin != value) ++begin;
         그렇지만 이 템플릿은 좋다, 개다가 일반화 까지 할수 있다. 시작과 끝에 연산자를 보아라. 사용된 연산자는 다르다는 것, dereferencing, prefix증가(Item 6참고), 복사(함수의 반환 값을 위해서? Item 9참고)를 위해서 쓰였다. 모든 연산자는 우리가 overload할수 있다. (DeleteMe 모호) 그래서 왜 포인터 사용하여 찾기를 제한하는가? 왜 허용하지 않는가 포인터 추가에서 이러한 연산자를 지원하기 위한 어떤 객체도 허용할수 없을까? (hy not allow any object that supports these operations to be used in addition to pointers?) 그래서 이렇게 하는것은 포인터 연산자의 built-in 의미를 찾기함수(find function)을 자유롭게 할것이다. 예를 들어서 우리는 리스트 에서 다음 리스트로의 이동을 해주는 prefix increment 연산자의 linked list객체와 비슷한 pointer를 정의할수 있다.
         Iterator find(Iterator begin, Iterator end, const T& value)
          while (begin != end && *begin != value) ++begin;
          charList.end(),
         찾기(find)가 끝났으면 그것은 찾은 인자를 가리키는, 혹은 charList.end()(찾지 못하였을때)의 iterator 객체를 반환한다. 왜냐하면 당신은 list가 어떻게 구현되었는가에 대하여 아무것도 알수 없기때문에 역시 구현된 list에서 iterator가 어떻게 되었는지 전혀 알수 없다. 그런데 어떻게 찾고서 반환되어지는 객체의 형을 알수 있을까? 다시, list 클래스는 모든 STL container와 마찬가지로 제한 해제를 한다.: 그것은 형 정의, iterator, 즉 list내부의 iterator의 정의를 제공한다. charList 가 char의 list가 된 이후로 iterator의 정의는 그러한 list인 list<char>::iterator 내부에 있고, 그것은 위의 예제와 같이 쓰인다. (각 STL container 클래스는 두가지의 iteraotr형인 '''iterator''' 와 '''const_iteraotr''' 를 정의한다. 전자는 일반적인 pointer와 같이 동작하고 후자는 pointer-to-const와 같이 동작한다. )
         STL, 그것의 중심(core)는 매우 간단하다. 그것은 단지, 대표 세트(set of convention)를(일반화 시켰다는 의미) 덧붙인 클래스와 함수 템플릿의 모음이다. STL collection 클래스는 클래스로 정의되어진 형의 iterator 객체 begin과 end 같은 함수를 제공한다. STL algorithm 함수는 STL collection상의 iterator 객체를 이동시킨다. STL iterator는 포인터와 같이 동작한다. 그것은 정말로 모든 것이 포인터 같다. 큰 상속 관계도 없고 가상 함수도 없고 그러한 것들이 없다. 단지 몇개의 클래스와 함수 템플릿과 이들을 위한 작성된 모든 것이다.
  • VendingMachine/세연 . . . . 19 matches
         class VendingMachine
          VendingMachine();
         int VendingMachine::showMenu()
         VendingMachine::VendingMachine()
         void VendingMachine::get_money()
         void VendingMachine::buy()
         void VendingMachine::takeBack_money()
         void VendingMachine::insertDrink()
          VendingMachine VendingMachine;
          int choice = VendingMachine.showMenu();
          VendingMachine.get_money();
          VendingMachine.buy();
          VendingMachine.takeBack_money();
          VendingMachine.insertDrink();
          choice = VendingMachine.showMenu();
         See Also ["CppStudy_2002_2"] , ["VendingMachine/세연/재동"] , ["VendingMachine/세연/1002"]
  • C++스터디_2005여름/도서관리프로그램/남도연 . . . . 18 matches
          cout<<"잘못 입력하셨습니다."<<endl;
          cout<<"찾을 책 이름은?"<<endl;
          cout<<"책 제목 : "<<find->book_name<<endl;
          cout<<"책 저자 : "<<find->book_writer<<endl;
          cout<<"ISBN : "<<find->book_ISBN<<endl;
          cout<<"상태 : 반납됨"<<endl;
          cout<<"상태 : 대여됨"<<endl;
          cout<<"찾을 수 없습니다."<<endl;
          cout<<"찾을 책 ISBN은?"<<endl;
          cout<<"책 제목 : "<<find->book_name<<endl;
          cout<<"책 저자 : "<<find->book_writer<<endl;
          cout<<"ISBN : "<<find->book_ISBN<<endl;
          cout<<"상태 : 반납됨"<<endl;
          cout<<"상태 : 대여됨"<<endl;
          cout<<"찾을 수 없습니다."<<endl;
          cout<<"잘못 입력하셨습니다."<<endl;
          cout<<"잘못 입력하셨습니다."<<endl;
          cout<<"잘못 입력하셨습니다."<<endl;
  • 김영록/연구중/지뢰찾기 . . . . 18 matches
          cout << "잘못된값을입력하셨습니다." << endl;
          cout << endl << endl<< endl<< endl<< endl<< endl<< endl;
          cout << " ======지뢰찾기 1.00======" << endl;
          cout << endl;
          cout << endl<< endl<< endl<< endl;
          cout << endl << " ====YOU step MINE AND BOOM====";
          cout << endl << " ============GAME OVER=============" <<endl;
          cout << endl;
  • 영호의해킹공부페이지 . . . . 18 matches
         which are pushed when calling a function in code and popped when returning it.
         We can change the return address of a function by overwriting the entire
         Padding? Right. Executing the NOP function (0x90) which most CPU's have - just
         Ammendment to FK8 by Wyzewun - Released 27th December, 1999
         Anyway, cin is an *extremely* commonly used function in C++ code, and it ought
          [ In function 09 of Int 21, as with most functions of int 21, the string is
         (Copies 09 value to AH register) [09 is the function for MS-DOS to call - Ed]
         (Displays string) [int 21h is the MS-DOS function call interrupt - Ed]
         (Ends the program)
         to the RegisterService() function thus registering the program as a service,
          call GetProcAddress ; get function address
         end start
         friends like Vortexia who are lamer warez kiddies that can leech stuff for
         you may end up getting yourself in more trouble than you bargained for. Don't
         Net Monitor is an extended menu on Nokia Phone. This will be a new additional
         Choose menu 3 (ME Memory Functions).
         MercEnarY sends greetz to: Depach, ReaXioN, BillaBong and IleK
         swm25 - | swm25-01.saix.net | Swellendam dial up
         vdd53 - | vdd53-01.wc.saix.net | Vredendal dial up
  • .vimrc . . . . 17 matches
         " Function Key
         function! InsertSkeleton()
         endfunction
         function! InsertHeaderSkeleton()
         endfunction
         function! InsertInclude()
         endfunction
         function! InsertFname()
          " Search for #endif
          call search("#endif")
         endfunction
          au BufReadPost *.bin set ft=xxd | endif
          au BufWritePre *.bin endif
          au BufWritePost *.bin set nomod | endif
         augroup END
         augroup END
         augroup END
  • AcceleratedC++/Chapter4 . . . . 17 matches
          << setprecision(prec) << endl;
          << setprecision(prec) << endl;
         return_type function_name(parameter lists...) { 함수 내에서 할 일들 }
          sort(vec.begin(), vec.end());
          * grade() function : 우리는 아까 grade라는 함수를 만들었었다. 그런데 이번에 이름은 같으면서 parameter는 조금 다른 grade()를 또 만들었다. 이런게 가능한가? 가능하다. 이러한 것을 함수의 overloading이라고 한다. 함수 호출할때 어떤게 호출될까는 따라가는 parameter lists에 의해 결정된다.
          === 4.1.4 Three kinds of function parameters ===
          === 4.1.5 Using functions to calculate a student's grade ===
          "follewd by end-of-file: ";
          << final_grade << setprecision(prec) << endl;
          cout << endl << "You must enter your grades. "
          "Please try again." << endl;
          sort(vec.begin(),vec.end());
         sort(vec.begin(), vec.end());
         sort(students.begin(), students.end()); // 과연? #!$%#@^#@$#
         sort(students.begin(), students.end(), compare);
          * 두번 이상 포함되는 것을 방지 하기 위해, #ifndef, #define, #endif 이런거 해주자. 그러면서 전처리기 이야기가 나온다.
         #endif
  • EffectiveC++ . . . . 17 matches
         #define 문을 const와 inline으로 대체해서 써도, #ifdef/#ifndef - #endif 등.. 이와 유사한 것들은 [[BR]]
         그럼.. 항목1 end.[[BR]]
         void noMoreMemory(); // decl. of function to
          // new-handling function
          // new-handling function
          // new-handling function
          // no new-handling function
          // function definition
          // function definition
         == Classes and Functions: Design and Declaration ==
         대게 class내에 operator 연산자를 사용함으로서 좀더 편한 code(?)라는 것을 하기 위해서 선언 하는 함수들이 멤버 함수여야 하는지 아니면 friend함수여야 하는지를
         쑥덕 쑥덕 하는 것이다. 멤버 변수들의 연산을 다양하게 적용시키고 싶다면 friend 함수를 써서 일반 상수가 클래스 인스턴스의 왼편에 자리 잡고 있어도 연산이 되게 하고싶다라는 생각을 가지고 있으면 friend함수를 써서 비 멤버 함수를 만들어 그 연산을 지원하라는 얘기 이다.
         temp = 2 * a; // 이런 연산. - friend함수를 사용하여 연산자를 정의 해줘야지만 작동한다.
         그렇지만, 이런 연산자들을 거의 안쓰는 것같다.. ㅡㅡ; 나도 friend함수 써본 일이 없다.. ㅡㅡ; 학교 시험에서 나올법한 얘기들.[[BR]][[BR]]
          friend const Rational& operator*(const Rational& lhs, const Rational& rhs)
          friend const Rational& operator*(const Rational& lhs, const Rational& rhs)
         === 항목 34. 파일간의 컴파일 의존성(dependency)을 최소화하라. ===
  • EightQueenProblem/용쟁호투 . . . . 17 matches
         end type
         end forward
         end type
         end variables
         public function boolean wf_create_queen ()
         public function boolean wf_chack_attack (integer ai_x, integer ai_y)
         end prototypes
         public function boolean wf_create_queen ();Integer li_x,li_y
          END IF
         end function
         end subroutine
         public function boolean wf_chack_attack (integer ai_x, integer ai_y);//32767
         END IF
         END IF
         end function
         end on
         end on
         end event
  • PPProject/Colume2Exercises . . . . 17 matches
          cout << "current : " << str << endl
          cout << "after shifting : " << roll(str, n, i) << endl;
         void reverse(string & str, int start, int end);
          int start, end;
          start = 0; end = i-1;
          reverse( str, start, end);
          start = i; end = n-1;
          reverse( str, start, end);
          start = 0; end = n-1;
          reverse( str, start, end);
          cout << str << endl;
         void swap(string & str, int start1, int end1, int start2, int end2){
          if ( end1 - start1 == end2 - start2){
          int limit = end1 - start1 + 1;
          cout << str << endl;
  • Vending Machine/dooly . . . . 17 matches
         package dooly.tdd.vending;
         public class VendingMachineTest extends TestSuite {
          TestSuite suite = new TestSuite("Test for dooly.tdd.vending");
          //$JUnit-END$
         package dooly.tdd.vending;
         public class PerchaseItemTest extends TestCase {
          private VendingMachine vm;
          vm = new VendingMachine();
         package dooly.tdd.vending;
         public class RegistItemTest extends TestCase {
          private VendingMachine vm;
          vm = new VendingMachine();
         package dooly.tdd.vending;
         public class VendingMachine {
         See Also ["CppStudy_2002_2"] , ["VendingMachine/세연/재동"] , ["VendingMachine/세연/1002"] , [Vending Machine/세연]
  • FromDuskTillDawn/변형진 . . . . 16 matches
          function __construct()
          list($from, $to, $start, $end) = explode(" ", trim($ln[$k+$i+1]));
          if(($start<18&&$start>6)||($end<18&&$end>6)||($start<=6&&$start>=$end)||($end>=18&&$end<=$start)) continue;
          $this->train[$from][] = array("to"=>$to, "start"=>($start+6)%24, "end"=>($end+6)%24);
          function track($from, $to, $start=0, $days=1, $city=array())
          $today[$next] = min(($today[$next])?$today[$next]:0, $this->train[$from][$i][end]-12);
          else $tomorrow[$next] = min(($tomorrow[$next])?$tomorrow[$next]:0, $this->train[$from][$i][end]-12);
          foreach($today as $next => $end) $this->track($next, $to, $end+12, $days, $city);
          foreach($tomorrow as $next => $end)
          $this->track($next, $to, $end+12, $days+1, $city);
  • OurMajorLangIsCAndCPlusPlus/2006.2.06/김상섭 . . . . 16 matches
          cout << s << endl;
          cout << s.length() << endl;
          cout << s.length() << endl;
          cout << s1 << s2 << endl;
          cout << "input string : " << s << endl;
          cout << s1 << " " << s2 << endl;
          cout << s1 << " " << s2 << endl;
          cout << s[2] << endl;
          cout << s << endl;
          cout << s << endl;
          cout << "s는 10입니다" << endl;
          cout << "s는 10아닙니다" << endl;
          cout << s1+s2 << endl;
          cout << "s1은 123입니다." << endl;
          cout << s1 << endl;
          cout << s2 << endl;
  • SeminarHowToProgramIt/Pipe/vendingmachine.py . . . . 16 matches
         #vendingmachine.py
         class VendingMachine:
         class TestVendingMachine(unittest.TestCase):
          vm = VendingMachine()
          vm = VendingMachine()
          vm = VendingMachine()
          vm = VendingMachine()
          vm = VendingMachine()
         class TestVendingMachineVerification(unittest.TestCase):
          vm = VendingMachine()
          vm = VendingMachine()
          vm = VendingMachine()
          vm = VendingMachine()
          vm = VendingMachine()
          vm = VendingMachine()
         Welcome to Vending Machine Simulator!
  • TheGrandDinner/김상섭 . . . . 16 matches
          sort(test_table.begin(),test_table.end(), compare_table);
          sort(test_team.begin(), test_team.end(), compare_team_max);
          sort(test_table.begin(),test_table.end(), compare_table);
          cout << "1" << endl;
          sort(test_team.begin(), test_team.end(), compare_team_num);
          sort(test_team[i].tableNum.begin(),test_team[i].tableNum.end());
          cout << endl;
          cout << "0" << endl;
          sort(test_table.begin(),test_table.end(), compare_table);
          sort(test_team.begin(), test_team.end(), compare_team_max);
          sort(test_table.begin(),test_table.end(), compare_table);
          cout << "1" << endl;
          sort(test_team.begin(), test_team.end(), compare_team_num);
          sort(test_team[i].tableNum.begin(),test_team[i].tableNum.end());
          cout << endl;
          cout << "0" << endl;
  • 데블스캠프2005/RUR-PLE/Sorting . . . . 16 matches
         def go_to_left_end():
          while front_is_clear(): # go to left end
          go_to_left_end() # go to left end
          go_to_left_end()
          go_to_left_end()
         def move_end():
          move_endof_sub()
          repeat(move_end,10)
          repeat(move_end,10)
          move_endof()
         def move_endof_sub():
         def move_endof():
          move_endof()
         # Function Public Definitions #
         #move/get/put functions
         #private functions #
  • 삼총사CppStudy/숙제2/곽세환 . . . . 16 matches
          cout << "v1과 v2의 내적 : " << (v1 ^ v2) << endl;
          cout << "v1의 길이 : " << v1.Length() << endl;
          cout << "x = " << cx << ", y = " << cy << ", z = " << cz << endl;
          진짜 잘하네요.. ^_^ 단한개를 지적하자면 스칼라값을 곱할때 v3 = 5 * v1; 이 안된다는것 정도겠네요... 이런건 friend함수를 한개정도 더 만들어주면 됩니다.
          friend CVector operator*(double s, CVector v);
          friend ostream & operator<<(ostream & os, CVector v);
          cout << "v1 : " << v1 << endl;
          cout << "v2 : " << v2 << endl;
          cout << "v1 + v2 : " << v3 << endl;
          cout << "v1 - v2 : " << v1 - v2 << endl;
          cout << "v1 * 5 : " << v1 * 5 << endl;
          cout << "5 * v1 : " << 5 * v1 << endl;
          cout << "v1과 v2의 외적 : " << v1 * v2 << endl;
          cout << "v1과 v2의 내적 : " << (v1 ^ v2) << endl;
          cout << "v1의 길이 : " << v1.Length() << endl;
          cout << "v1의 초기화 : " << v1 << endl;
  • 희경/엘레베이터 . . . . 16 matches
          cout << number << "층짜리 건물입니다." << endl;
          cout << "지금 현재 " << floor << "층에 있고" << endl
          << in << "명이 타고 " << out << "명이 내려서" << endl
          << people << "명 남았습니다" << endl
          << "**************************************************" << endl;
          cout << number << "층짜리 건물입니다." << endl;
          cout << "지금 현재 " << temp << "층을 지나고 있습니다" << endl
          << "**************************************************" << endl;
          cout << "지금 현재 " << temp << "층을 지나고 있습니다" << endl
          << "**************************************************" << endl;
          cout << "지금 현재 " << floor << "층에 있고" << endl
          << in << "명이 타고 " << out << "명이 내려서" << endl
          << people << "명 남았습니다" << endl;
          cout << "\a인원초과입니다." << endl
          << people - 10 << "명이 내립니다." <<endl;
          cout << "**************************************************" << endl;
  • BigBang . . . . 15 matches
          cout<<"hello!"<<endl;
          * endl
         ==== 함수 (Function) ====
          * function이란 input과 output이 있는 기능 단위
         #endif _HEADER_FILE_NAME_
          * 연산자 오버로딩에서 friend가 필요했던 이유!
          cout << "hello" << endl;
          va_end(ap);
          cout << va_arg(ap, int) << endl;
          va_end(ap);
          * template과 friend
          * template와 friend 사이에 여러 매핑이 존재한다. many to many, one to many, many to one, one to one : [http://publib.boulder.ibm.com/infocenter/comphelp/v7v91/index.jsp?topic=%2Fcom.ibm.vacpp7a.doc%2Flanguage%2Fref%2Fclrc16friends_and_templates.htm 참고]
          * vector(메모리가 연속적인 (동적) 배열), string, deque(double ended queue, 덱이라고도 한다. [http://www.cplusplus.com/reference/deque/deque/ 참고]), list(linked-list)
          e.g. function에 call by value로 객체를 넘겨줄 경우,
          * Macro Function이 필요한 경우 - inline template function으로 대체 하면 해결
          * const Function이냐 아니냐로도 overloading이 된다.
  • EffectiveSTL/Container . . . . 15 matches
         = Item2. Beware the illusion of container-independant code. =
         = Item5. Prefer range member functions to their single-element counterparts. =
         for(vector<Object>::const_itarator VWCI = a.begin() + a.size()/2 ; VWCI != a.end() ; ++VWCI)
         copy( a.begin() + a.size() / 2, a.end(), back_inserter(b)) ;
         b.assign(a.begin() + a.size() / 2, a.end());
         ifstream_iterator<int> dataEnd;
         list<int> data(dataBegin, dataEnd); // 요런식으로 써주자.
         for(vector<Object*>::iterator i = v.begin() ; i != v.end() ; ++i)
         == 보완법 1(class for function object) ==
         struct DeleteObject : public unary_function<const T*, void>
          for_each(v.begin(), v.End(), DeleteObject()); // 정말 이상하군..--;
         c.erase( remove(c.begin(), c.end(), 1982), c.end() ); // 이건 내부적으로 어떻게 돌아가는 걸까. 찾아봐야겠군.
         c.erase( remove_if(c.begin(), c.end(), badValue), c.end() ); // Contiguous-memory Container일때(vector, deque, string)
         remove_copy_if(c.begin(), c.end(), inserter(goodValues, goodValues.end()), badValue); // 헉 이분법--;. 보면서 느끼는 거지만 정말 신기한거 많다. 저런 것들을 도대체 무슨 생각으로 구현했을지..
         for(AssocContainer<int>::iterator i = c.begin() ; c != c.end() ; )
  • MedusaCppStudy/신애 . . . . 15 matches
         using std::endl;
          cout << endl;
          cout << endl;
         using std::endl;
          cout << endl;
          cout << endl;
         using std::endl;
          cout << endl;
         using std::endl;
          sort(number.begin (),number.end());
         using std::endl;
          sort (english.begin(),english.end());
          cout << endl;
         using std::endl;
          cout << endl;
  • MoreEffectiveC++/Techniques1of3 . . . . 15 matches
         == Item 25: Virtualizing constructors and non-member functions ==
          it != rhs.components.end();
          === Making Non-Member Functions Act Virtual : 비멤버 함수를 가상 함수처럼 동작하게 하기 ===
         하지만 출력해야할 스트림 객체가 righ-hand 객체라는것이 사용자 입장에서 불편하게 만든다. 우리가 보통 사용하는 것처럼 스트림 객체에 출력할 객체를 넣는 다는 개념이 적용되지 않는 것이리라. 하지만, 전역 함수나 friend함수를 이용해서 구현한다면 더이상 가상함수로 구현할수가 없게 된다. 여기서의 방법이 비멤버 함수를 이용하는 것이다.
          friend Printer& thePrinter(); // 이 friend 함수가 유일한 객체 하나를 유지 시키고
         해당 디자인은 세가지의 중점으로 이해 하면 된다. '''첫번째''' Printer클래스의 생성자를 private(사역)인자로 설정한다. 이는 객체 생성을 제한한다. '''두번째''' 전역 함수인 thePrinter를 Printer클래스의 friend로 선언한다. 그래서 이 thePrinter가 첫번째에서의 제한에 상관없이 관여 가능하도록 만든다. '''마지막으로(세번째)''' 전역함수인 thePrinter 내부에 정적(static) Printer 객체를 만든다. 이는 오직 하나만의 객체를 thePrinter내부에 유지시킨다.
         하지만 이렇게 구현시에는 thePrinter가 "'''전역 공간을 사용해야 한다.'''" 것으로 코드를 약하게 만든다. 알다 시피, 전역 공간의 사용은 되도록이면 피해야 하는 방법이며, thePrinter를 Printer클래스 내부에 숨기기를 추천하다. thePrinter를 Printer클래스 내부 메소드로 넣어 버리고, friend를 삭제해 보자.
         Printer& Printer::thePrinter() // friend만 없앴지 마찬가지 방법을 제시한다.
          friend Printer& thePrinter();
          Printer& thePrinter() // 이 friend 함수 역시 전역이 아닌
         '''첫번째'''로 만들어지는 객체의 위치이다. 위의 제시된 두가지의 방법에서, Printer 정적(staitc) 객체가 하나는 friend로 클래스의 제어권을 획득한 함수 내부에 있고, 또 하나는 클래스 멤버 메소드 내부에 있다. 함수에 있는 경우에는 정적(static) 객체는 항상 만들어져 있다. 이 의미는 해당 코드의 프로그램이 시작될때 부터 아예 객체가 만들어 진다는 의미이다. 즉, 한번도 그 객체를 사용하지 않아도, 객체는 이미 만들어져 비용을 지출하게 한다. 반면에, 함수 멤버 메소드 내부에 정적(static)객체를 만들 후자의 경우에는 객체를 만드는 역할을 하는 메소드인 Printer::thePrinter 가 제일 처음 호출될때 객체가 생성된다. 이것은 C++에서 "사용하지 않는 객체에 대한 비용은 지불하지 않는다."의 설계 다소 복잡한 이념에 근간을 둔 개념이다. 그리고 이러한 복잡한 개념은 당신을 해깔리게 만든다.
          list<RawAddress>::iterator it = find(addresses.begin(), addresses.end(), ptr);
          if (it != addresses.end()) { // 지울 주소를 찾아서
          list<RawAddress>::iterator it = find(addresses.begin(), addresses.end(), rawAddress);
          return it != addresses.end(); // return whether it was
  • UpgradeC++/과제1 . . . . 15 matches
          cout<<endl;
          cout<<"--------------------------------------------"<<endl<<endl;
          cout<<endl;
          cout<<"--------------------------------------------"<<endl<<endl;
          cout<<endl;
          cout << endl;
          cout << endl;
          cout << endl;
          cout << endl;
          //cout << endl;
          cout << endl;
          cout << endl;*/
          cout << endl;
  • 만년달력/이진훈,문원명 . . . . 15 matches
          int endmonth, endline; //달의 끝, 주의 끝.
          cout << year << "년\t\t\t" << month << "월" << endl;
          cout << "Sun\t Mon\t Tue\t Wed\t Thr\t Fri\t Sat" << endl;
          endmonth = 31;
          endmonth = (28+fyun);
          endmonth = 30;
          endline = findday;
          for(int n = 2 ; n <= endmonth; n++)//출력부. endline은 주의 끝.
          endline++;
          if (endline == 7)
          endline = 0;
          cout << endl;
          cout << endl;
  • 변준원 . . . . 15 matches
          cout <<endl;
          cout <<endl;
          int calendar[7][6];
          calendar[p][q]=0;
          calendar[m][n]=day;
          calendar[m+1][n]=day;
          calendar[m][n]=day;
          calendar[m+1][n]=day;
          cout << calendar[p][q] << "\t";
          cout << endl;
         #endif
         #endif
          EndPaint(hWnd, &PS);
          cout<<endl;
          cout<<endl;
          cout << "바퀴벌레의 이동횟수는 " << number << "입니다." << endl;
  • AcceleratedC++/Chapter3 . . . . 14 matches
         using std::endl;
          "follewd by end-of-file: ";
          << setprecision(prec) << endl;
         === 3.1.1 Testing for end of input ===
          cout << endl << "you must enter your grades. "
          "Please try again." << endl;
          sort(homework.begin(),homework.end());
          * begin() 메소드와, end() 메소드
          * end() : 컨테이너의 맨 마지막 원소에서 한칸 지난 값을 가리킨다.
          "follewd by end-of-file: ";
          cout << endl << "you must enter your grades. "
          "Please try again." << endl;
          sort(homework.begin(),homework.end());
          << setprecision(prec) << endl;
  • AcceleratedC++/Chapter5 . . . . 14 matches
          cout << students[i].name << endl;
         for(vector<Student_info>::const_iterator i = students.begin() ; i != students.end() ; ++i)
          cout << (*i).name << endl;
          * begin()과 end()는 각각 컨테이너의 맨 처음 요소를 가리키는 반복자와, 맨 마지막에서 한칸 지난 것을 가리키는 반복자를 리턴해준다.
          while(iter != students.end()) {
         while(iter != students.end())
         vector<Student_info>::iterator iter = students.begin(). end_iter = students.end();
         while(iter != end_iter)
          * 이렇게 말이다. 하지만 안된다. 아까 말했듯이, 하나 지우면 그 뒤의 반복자는 모두 갱신되기 때문에, 미리 저장해놓은 end_iter는 쓸모가 없어진다. 쓰레기 값이 남는 것이다.
          * 벡터는 삽입, 삭제 할때마다 메모리를 몽땅 재할당한다. 따라서 ~~.end()는 버그의 온상이 왼다. 계속 바뀌므로... 하지만 list는 삽입, 삭제한다고 몽땅 재할당하지 않는다. 그래서 빠른 것이다. 또한 임의 접근을 지원하는 컨테이너만 쓸수 있는 표준 알고리즘 sort도 당연히 쓸수 없다. 그래서 list의 멤버함수로 sort가 있다. 다음과 같이 써주자.
         for(vector<string>::const_iterator i = bottom.begin(); i != bottom.end(); ++i)
         ret.insert(ret.end(), bottom.begin(), bottom.end());
  • Cpp에서의멤버함수구현메커니즘 . . . . 14 matches
          cout << "Create! id = " << id << endl;
          cout << "I suicide. Id is " << id << endl;
          cout << "My Id is no " << id << endl;
          cout << "say Hello" << endl;
          cout << endl << ":::::: Case 1 - 동적할당 " << endl;
          cout << endl << ":::::: Case 2 - id 확인" << endl;
          cout << endl << ":::::: Case 3 - 포인터 NULL로 하고 메소드 호출하기 " << endl;
          cout << endl << ":::::: Case3 - 지역변수로 선언" << endl;
          cout << endl;
          cout << "My Id is no " << id << endl;
  • MedusaCppStudy/세람 . . . . 14 matches
         using std::endl;
          cout << endl;
         using std::endl;
          cout << endl;
         using std::endl;
          cout << endl;
         using std::endl;
          sort(number.begin(), number.end());
          cout << endl;
         using std::endl;
          sort(nums.begin(), nums.end());
          cout << nums[0] << ", " << nums[nums.size() - 1] << endl;
         using std::endl;
          cout << endl;
  • RandomWalk2/조현태 . . . . 14 matches
          cout << "input End Num 999\n>>";
          int endNum;
          cin >> endNum;
          cout << moveNum << endl;
          cout << endl;
          cout << "input End Num 999\n>>";
          int endNum;
          cin >> endNum;
          cout << moveNum[i] << endl;
          cout << endl;
         #define END_NUMBER 999
          if (END_NUMBER == myPointX[i])
          cout << moveNum[i] << endl;
          cout << endl;
         #define END_NUMBER 999
          if (END_NUMBER == myPointX[i])
          cout << moveNum[i] << endl;
          cout << endl;
         #define END_NUMBER 999
          if (END_NUMBER == myPointX[i])
  • Slurpys/이상규 . . . . 14 matches
         bool checkSlump(char str[], int index, int *end)
          *end = index + 1;
          else if(checkSlump(str, index, end))
         bool checkSlimp(char str[], int index, int *end)
          *end = index + 1;
          if(checkSlimp(str, index, end))
          index = *end;
          *end = index + 1;
          else if(checkSlump(str, index, end))
          index = *end;
          *end = index + 1;
          int end, temp;
          if(checkSlimp(str, 0, &end))
          if(checkSlump(str, end, &temp))
          printf("END OF OUTPUT\n");
  • SummationOfFourPrimes/1002 . . . . 14 matches
          self.resultTable.append(i)
          self.resultTable.append(i)
          21065 function calls in 6.387 CPU seconds
          ncalls tottime percall cumtime percall filename:lineno(function)
          60269 function calls in 24.926 CPU seconds
          ncalls tottime percall cumtime percall filename:lineno(function)
          11067 function calls in 5.417 CPU seconds
          ncalls tottime percall cumtime percall filename:lineno(function)
          10271 function calls in 7.878 CPU seconds
          ncalls tottime percall cumtime percall filename:lineno(function)
          470994 function calls in 26.768 CPU seconds
          ncalls tottime percall cumtime percall filename:lineno(function)
          6 function calls in 16.671 CPU seconds
          ncalls tottime percall cumtime percall filename:lineno(function)
  • 만년달력/김정현 . . . . 14 matches
         CalendarMaker에게 폼을 주고 만들라고 지시한다
         public class CalendarMaker {
          public String getResult(int start, int end) {
          for(int i=start;i<=end;i++) {
          CalendarMaker maker= new CalendarMaker();
         public class TestCalendar extends TestCase{
          CalendarMaker maker= new CalendarMaker();
          maker= new CalendarMaker();
          CalendarMaker maker= new CalendarMaker();
          public void testMakingCarendar() {
  • 신기호/중대생rpg(ver1.0) . . . . 14 matches
          }while(strcmp(buff,"END")!=0);
          fprintf(state,"END\n");
          bool end=false;
          if(end)
          end=true;
          end=true;
          end=true;
          end=true;
          end=true;
         #endif _GAME_COMP_H_
         #endif _GAME_FILE_H_
          }while(strcmp(buff,"END")!=0);
          fprintf(file,"END\n");
          bool end=false;
          if(end)
          end=true;
          end=true;
          end=true;
  • AcceleratedC++/Chapter10 . . . . 13 matches
         using std::endl;
          cout << "x = " << x << endl;
          cout << "x = " << x << endl;
         In find_if(In begin, In end, Pred f) {
          while (begin != end && if f(*begin)) //여기서 Pred는 Pred(*begin)이 의미를 갖는 모든 타입이 가용합니다.
         vector<int>::iterator i = find_if(v.begin(), v.end(), is_negative); // &is_negative 를 사용하지 않는 이유는 자동형변환으로 포인터형으로 변환되기 때문임.
         using std::endl;
          cout << endl;
         using std::endl;
          outfile << s << endl;
         using std::endl;
          cout << s << endl;
          cerr << "cannot open file " << argv[i] << endl;
  • ClassifyByAnagram/sun . . . . 13 matches
         public class PowerTest extends Applet
          g.drawString( "....vendor : " + System.getProperty( "java.vm.vendor"), 10, 35 );
          keyBuf.append( keyElement );
          keyBuf.append( table.get( keyElement ));
          long end = System.currentTimeMillis();
          long printEnd = System.currentTimeMillis();
          System.out.println( "수행시간: " + (end-start) + " ms" );
          System.out.println( "수행시간(print): " + (printEnd-start) + " ms" );
          long end = System.currentTimeMillis();
          long printEnd = System.currentTimeMillis();
          System.out.println( "수행시간: " + (end-start) + " ms" );
          System.out.println( "수행시간(print): " + (printEnd-start) + " ms" );
          long end = System.currentTimeMillis();
          long printEnd = System.currentTimeMillis();
          System.out.println( "수행시간: " + (end-start) + " ms" );
          System.out.println( "수행시간(print): " + (printEnd-start) + " ms" );
          long end = System.currentTimeMillis();
          System.out.println( "Elapsed time: " + (end-start) + " ms" );
  • StringOfCPlusPlus/영동 . . . . 13 matches
          friend ostream& operator<<(ostream & os, const Anystring & a_string);
          cout<<"문자열의 길이는 "<<count<<"이다."<<endl;
          cout<<input_char<<"는 문자열 안에 "<<count<<"개 있다."<<endl;
          cout<<str<<endl;
          os<<a_string.str<<endl;
          cout<<"==========String Of C++====================="<<endl;
          cout<<"1. 문자열 길이를 알아내는 기능"<<endl;
          cout<<"2. 문자열을 거꾸로 만들어 주는 기능"<<endl;
          cout<<"3. 찾고자 하는 문자의 갯수를 알려 주는 기능"<<endl;
          cout<<"4. 문자열에 있는 여백을 지워주는 기능"<<endl;
          cout<<"5. + 연산자를 재정의 하여 문자열을 합치기"<<endl;
          cout<<"6. <<연산자를 재정의하여 문자열 출력하기"<<endl;
          cout<<"============================================"<<endl;
  • 새싹교실/2012/startLine . . . . 13 matches
          점점 C언어가 function 위주의 프로그래밍이라는 걸 더 깊이 이해하게 된다.
          * Calender.h 파일 - 만들어야 할 함수들. 더 늘려도 상관 없습니다.
         void printCalender(int nameOfDay, int year, int month);
         // 달의 첫 날의 요일(nameOfDay)과 마지막 날의 수를 받아서 1~endDayOfMonth까지 출력합니다.
         void printDate(int nameOfDay, int endDayOfMonth);
         int endDayOfMonth(int year, int month);
         #include "Calender.h"
          printCalender(nameOfDay, year, month);
         [Calendar 성훈이 코드]
         [Calendar 환희 코드]
          char gender;
         AccountArray *extendArray(AccountArray *before); // 다 찬 배열은 새로 확장을 해 주어야 합니다.
          * extendArray 등의 함수 사용의 불편함.
  • HolubOnPatterns/밑줄긋기 . . . . 12 matches
          * 하지만 많은 자바 프로그래머들은 인터페이스를 거의 사용하지 않고 extends 관계를 남용하고 있다.
         === 왜 Extends가 나쁜가? ===
          * extends 키워드는 나쁘다.
          * ... 혹시라도 내가 extends를 절대 사용하면 안 된다고 주장하고 있다고 생각하지는 말기 바란다.
          * 디자인 패턴은 크게 보면 구현 상속(extends)을 인터페이스 상속(implements)으로 바꾸는 방법을 설명하고 있다.
          * 자바 프로그래머들은 종종 extends와 같은 언어의 기능을 객체 지향 자체와 혼동하곤 한다.
          * extends와 implements 간의 유사성은 C++ 언어에서는 명확하다. C++는 이 둘을 구분하지 않기 때문이다.
         === 언제 extends를 사용해도 좋은가? ===
          * 이제 언제 extends 관계를 사용해도 좋을지 논의해 보도록 하자.
          * 클래스 상속 기반 계층구조일때는 유용할듯 하지만. 우리가 원하는 extends를 제거하는 동적 디자인 시에는 그리 유용한 도구가 아닌것 같다. 'is-a'가 얼마나 날 잘못된 길로 이끌었던가! - [김준석]
          * 음.. 확실히 이 책은 구현상속의 장점에대해 충분히 알아들어야지 extends의 장점에 대해 이해할수 있을것 같다. 이런경우가 어떤때인지 모르니까 - [김준석]
         === extends 제거하기 ===
          * Naver Ending Story.. - [김준석]
  • LUA_3 . . . . 12 matches
         > if a == true then print ("Yes") else print ("No") end
         [ if 조건 then 참인 경우 else 조건이 거짓인 경우 end 로 끝냄 ]
         [ if A 조건 then A 조건이 참인 경우 elseif B 조건 then B 조건이 참인 경우 end ]
         >> end
         [ for 변수 = 시작값, 종료값, 단계값(기본은 1) do 반복 될 명령문 end]
         > for i = 1, 10, 2 do print(i) end
         > for i = 1,3 do print(i) end
         [ while 조건 do 반복 될 명령문 end ]
         >> end
         마지막으로 repeat 문을 살펴 보겠습니다. repeat는 C의 do~while과 유사합니다. 하지만 다른 점이 있습니다. 우선 while 문과 달리 꼭 한 번은 실행 된다는 점, 그리고 조건이 거짓일 동안 반복 된다는 점, 그리고 마지막으로 do ~ end 블록이 아니라 repeat ~ until 로 구성 되어 있다는 점 입니다. 문법은 아래와 같습니다.
         >> if i == 3 then break end
         >> end
  • MedusaCppStudy/희경 . . . . 12 matches
          cout << endl;
          cout << " *" << endl;
          cout << endl;
          cout << "*" << endl;
          cout << "*" << endl;
          cout << endl;
          cout << "뛰어쓰기나 마침표 포함해서 50자내로 문장을 작성하시오" << endl;
          cout << "단어 개수: " << x << endl;
          cout << "가장 긴 단어 길이: " << lenth[0] << endl;
          cout << "가장 짧은 단어 길이: " << lenth[x-1] << endl;
          cout << "숫자를 차례대로 입력해주세요(숫자는 서로 띄어쓰기로 구분한다) :" << endl;
          cout << endl;
  • PairProgramming . . . . 12 matches
          * 해당 시간 내 집중도의 상승, Pair Pressure - 평소 프로그래밍 외의 것(프로그래밍 중 음악듣기, 쓸데없는 웹서핑, 메일 읽기)에 대한 잡음을 없앤다. 작업 자체에만 몰두하게 해준다. ["TestDrivenDevelopment"] 와 상호작용이 빠른 언어(["Python"] 등..)를 이용하면 Feedback 이 빠르므로 집중도가 더 높아진다.
          function Connect(){}
          function Execute(){}
          function Close(){}
          function Connect(){ odbc_connect(); }
          function Execute(){ odbc_do(); }
          function Close(){ odbc_close(); }
          function Connect(){ mysql_connect(); }
          function Execute(){ mysql_query(); }
          function Close(){ mysql_close(); }
          function Connect()
          function Execute()
         function GetConnectionObject()
  • ProjectPrometheus/Journey . . . . 12 matches
          * Recommender, lightView, heavyView service 작성. view 추가.
          * Recommender 부분 완료 (연관된 {{{~cpp BookMapper}}}, {{{~cpp UserMapper}}}의 기능 작성 완료)
          * Recommender 구현중 User 클래스의 구현
          * {{{~cpp RecommenderTest}}} 의 테스트 수행중
          * DB Schema 궁리 & Recommendation System 을 DB 버전으로 Integration 시도
          * MockObjects 를 이용, Database 에 대해서 MockObjects Test 와 Real DB Test 를 같이 해 나가보았다. DB - Recommendation System 연결을 위해서는 RS 에서의 object 들과 DB 와의 Mapping 이 필요하다고 판단, DB Schema 를 같이 궁리한 뒤, Test 를 작성하였다. 이때 이전 기억을 떠올리면서 MockObjects Test 를 상속받아서 Real DB Test 를 작성하는 식으로 접근해봤는데 좋은 방법이라 생각.
          * {{{~cpp ViewBookExtractorTest}}} ( {{{~cpp LendBookList}}} 와 연계하여 테스트 추가 )
          * {{{~cpp AboutLendBookTests}}}
          * {{{~cpp LendBookListTest}}}
          * {{{~cpp LendBookTest}}}
          * Iteration 2. Recommendation System 에 대한 SpikeSolution
          * CRC 세션을 하는 중간에 혼란에 빠졌다. ResponsibilityDrivenDesign 을 잘 알고 있었다고 생각했는데 이때 잘 되지 않았다.
          * TestDrivenDevelopment 의 경우를 추구했다면 어떠했을까. TDD 의 특성상 꼭 필요한 메소드들만 있는 단순한 디자인을 유도한다라는 점에서. 이번의 경우도 Scenario 를 생각하여 프로그램 뼈대를 만들어서인지 주 Interface가 되는 메소드들외에 불필요한 메소드는 적었긴 한데, 그 대신, 신기하리만치 처음 짠 시나리오가 완벽하게 먹히었다란 생각도 든다;
          * 박성운씨라면 ["SeparationOfConcerns"] 를 늘 언급하시는 분이니; 디자인 정책과 구현부분에 대한 분리에 대해선 저번 저 논문이 언급되었을때 장점에 대해 설명을 들었으니까. 이는 ResponsibilityDrivenDesign 과 해당 모듈 이름을 지을때의 추상화 정도가 지켜줄 수 있을 것이란 막연한 생각중.
          * ResponsibilityDrivenDesign.
          * 지난번에 받았던 요구사항정의된 글들을 (그때 글들을 미리 스캔해두었었다.) 다시 보면서 다시 정리를 하였다. 어떠한 순서로 할까 하다가 일단 사용자의 기준으로, 사용자들이 이용하는 기능(Functional)과 퍼포먼스 관련 (Non-Functional) 부분으로 생각했고, 주로 Functional 한 부분을 기준으로 사용자 시나리오를 작성하면서 요구사항들을 정리하였다. 그러면서 지난번 Requirement 를 받을때 수동적 자세로 있었음을 후회했다. 5일이 지난뒤 정리하니까 이렇게 머리가 안돌아가나;
          "여기서 Recommendation System 이 작동해야 할 부분이 들어가면 안되겠는데... 본래 의도는 검색이 되고 난 뒤 책 관련 정보가 나올때 RS 가 작동하여 같이 표시가 되어야 해." [[BR]]
  • ProjectZephyrus/PacketForm . . . . 12 matches
          Client(Sender) -> Server
          Server -> Sender(Client)
          Server->online Buddys of Sender
          Client(Sender) -> Server
          Client(Sender) -> Server
          Server -> Sender(Client)
          # message # SenderID # Stirng(말)
          # message # SenderID # String(말)
          Client(Sender) -> Server
          Server -> Sender(Client)
          Client(Sender) -> Server
          Server -> Sender(Client)
  • RandomWalk/임인택 . . . . 12 matches
          cout << "input size of the board" << endl;
          cout << "input start point;" << endl;
          cout << endl;
          cout << "loop : " << loop << " times" << endl;
          for(iter=board.begin(); iter!=board.end(); ++iter)
          cout << endl;
          cout << "Total : " << LoopCount << " times repeated " << endl;
          for(iter=roachJourney.begin(); iter!=roachJourney.end(); ++iter)
          for(iterX=roachJourney.begin(); iterX!=roachJourney.end(); ++iterX)
          for(iterY=(*iterX).begin(); iterY!=(*iterX).end(); ++iterY)
          cout << endl;
          TokenRing 에서 아이디어를 얻어 나름대로 만들어봤는데 (아직 제대로 동작하는지 미확인. 이 글을 작성하는 도중에도 버그가 하나둘 보이고 BadSmell 이 많이 난다. PC가 많은 곳에서 추가작업필요... :( ) 이게 CSP 의 이념에 부합하는지 모르겠다. m by n 배열에 있는 셀들을 TokenRingNetwork 형태를 띠게 하면서 사실은 배열인것처럼 동작하게 했다. 이 방법 말고 마땅한 방법이 떠오르지 않았다. TestDrivenDevelopment 으로 작성해보려고 했지만 실천에 옮기지 못했다. 몸에 밴 습관이란건 극복하기가 쉽지 않은 것 같다.
          private boolean _bEndCondition;
          _bEndCondition = false;
          while( !_bEndCondition ) {
          if( msg.checkEndCondition(getHostIndex()) ) {
          public void showEndStatus() {
          // if here is the starting point, then send kill signal to others.
          showEndStatus();
          public boolean checkEndCondition(int cellIdx) {
  • RubyLanguage/Expression . . . . 12 matches
         || begin end || 블록 표현식 ||
          end
         end
         end
         end
         end
         end
         end
         end
         end
         5.downto(1) do |i| puts i end
         end
  • VendingMachine_참관자 . . . . 12 matches
         class VendingMachine{
          VendingMachine();
         void VendingMachine::SetMenuM(int i)
         void VendingMachine::AvailMenuPrint()
         void VendingMachine::AddingMenu(char * name, int price)
         VendingMachine::VendingMachine()
         void VendingMachine::ProcessMoney()
         void VendingMachine::ProcessPush()
         void VendingMachine::ProcessReturn()
         void VendingMachine::On()
          VendingMachine v;
  • 몸짱프로젝트/BinarySearchTree . . . . 12 matches
          cout << "1. Insert " << endl;
          cout << "2. Delete " << endl;
          cout << "3. Search " << endl;
          cout << "4. Quit " << endl;
          cout << "숫자 입력" << endl;
          cout << aNum << "을 Tree에 추가" << endl;
          cout << "Error" << endl;
          cout << aNum << "을 Tree에 추가" << endl;
          cout << aNum << "은 Tree에 있습니다." << endl;
          cout << aNum << "은 Tree에 없습니다." << endl;
          cout << "Error" << endl;
          cout << aNum << "삭제" << endl;
  • 손동일 . . . . 12 matches
          cout << endl;
          << endl;
          cout << endl;
          cout << endl;
          cout << endl;
          cout << endl;
          cout << "시작점과 끝점을 입력해주세요(a,b,c,d,e,f,g,h,i,j,z) : " << endl;
          char start, end;
          cin >> start >> end;
          if ( vertices[i].name == (int)end )
          cout << "최단거리는 " << goal->len_from_start << "입니다." <<endl;
          cout << endl;
  • 3n 1/Celfin . . . . 11 matches
         int countNum, cycle, i, start, end;
         int maxCycle(int start, int end)
          for(i=start; i<=end; i++)
          while(cin>>start>>end)
          if(start>end)
          cout << start << " " << end << " " << maxCycle(end, start) << endl;
          cout << start << " " << end << " " << maxCycle(start, end) << endl;
  • Garbage collector for C and C++ . . . . 11 matches
         # Recommended for heaps larger than about 64 MB.
         # -DDONT_ADD_BYTE_AT_END is meaningful only with -DALL_INTERIOR_POINTERS or
         # causes all objects to be padded so that pointers just past the end of
         # -DDONT_ADD_BYTE_AT_END disables the padding.
         # Not recommended unless you are implementing a language that specifies
         # This is useful if either the vendor malloc implementation is poor,
         # this facility is only used in a few places. It is intended primarily
         # writes past the end of an object. This is intended for environments
         # the GC_debug_ functions, or through the macros that expand to these,
         # -DSAVE_CALL_NARGS=<n> Set the number of functions arguments to be
         # other pthreads environments. Recommended for multiprocessors.
         # -DPARALLEL_MARK allows the marker to run in multiple threads. Recommended
  • Gnutella-MoreFree . . . . 11 matches
         || pong || Ping을 받으면 주소와 기타 정보를 포함해 응답한다.Port / IP_Address / Num Of Files Shared / Num of KB Shared** IP_Address - Big endian||
         || queryHit || 검색 Query 조건과 일치한 경우 QueryHit로 응답한다. Num Of Hits 조건에 일치하는 Query의 결과 수 Port / IP_Address (Big-endian) / Speed / Result Set File Index ( 파일 번호 ) File Size ( 파일 크기 )File Name ( 파일 이 / 더블 널로 끝남 ) Servent Identifier 응답하는 Servent의 고유 식별자 Push 에 쓰인다. ||
         || push || 방화벽이 설치된 Servent와의 통신을 위한 DescriptorServent Identifier / File Index / IP_Address(Big-endian)/Port ||
          VendorCode(3byte) OpenDataSize(1byte) OpenData(2byte) PrivateData(n)
         little endian byte : 작은 쪽 (바이트 열에서 가장 작은 값)이 먼저 저장되는 순서
         SendRequest() 에서 HTTP/GET 형식으로 헤더를 보내 받고자 하는 데이타를 요청한다
         pNode->SendPacket(m_Packet, length, PACKET_QUERY, true);
         if(ExtendedPacket)
         Item.Vendor = Vendor;
         // Check for end of reply packet
  • MoreEffectiveC++ . . . . 11 matches
          * Item 5: Be wary of user-defined conversion functions. - 사용자 정의 형변환(conversion) 함수에 주의하라!
          * Item 8: Understand the differend meanings of new and delete - new와 delete가 쓰임에 따른 의미들의 차이를 이해하라.
          * Item 12: Understand how throwing an exception differs from passing a parameter or calling a virtual function [[BR]] - 가상 함수 부르기나, 인자 전달로 처리와 예외전달의 방법의 차이점을 이해하라.
          * Item 24: Understand the costs of virtual functions, multiple ingeritance, virtual base classes, and RTTI [[BR]] - 가상 함수, 다중 상속, 가상 기초 클래스, RTTI(실시간 형 검사)에 대한 비용을 이해하라
          * Item 25: Virtualizing constructors and non-member functions. - 생성자와 비멤버 함수를 가상으로 돌아가게 하기.
          * Item 31: Making functions virtual with respect to more than one object. - 하나 이상 객체에 대응하는 함수를 virtual(가상)으로 동작 시키기
          === Appendix ===
          ["MoreEffectiveC++/Appendix"] : 한글화의 필요성을 못느끼며, 위키화만 시켜놓음
          * Recommended Reading
          1. 2002.03.08 문서화 종료 ( 1~35장 한글화 or 요약, Appendix와 index는 제외)
          * 아, 드디어 끝이다. 사실 진짜 번역처럼 끝을 볼려면 auto_ptr과 Recommended Reading을 해석해야 하겠지만 내마음이다. 더 이상 '''내용'''이 없다고 하면 맞을 까나. 휴. 원래 한달정도 죽어라 매달려 끝낼려고 한것을 한달 반 좀 넘겼다. (2월은 28일까지란 말이다. ^^;;) 이제 이를 바탕으로한 세미나 자료만이 남았구나. 1학기가 끝나고 방학때 다시 한번 맞춤법이나 고치고 싶은 내용을 고칠것이다. 보람찬 하루다.
  • MoreEffectiveC++/Efficiency . . . . 11 matches
          // 만약 아무런 entry를 찾을수 없다면, "it"의 값은 cubes.end이다.
          if(it == cubes.end()){
          << " in " << buffer << endl;
         이 예제는 operator+=과 operator-=이 다른곳에 구현되어 있는 것이고, operator+와 operator-가 이들을 이용해 각기 기능을 구현한 모습이다. 이런 디자인이라면, 이 operator들에게 할당된 기능은 유지될것이다.(다른 것이 변하면 같이 변한다는 소리) 게다가 public 인터페이스에서 operator들이 할당된 버전에서 클래스 상에서 friend로서 stand-alone operator에 대한 필요성은 없다.
          #endif
          #endif
          #endif
         stdio의 효율의 이점은 기계에 종속적(implementation-dependent)이라는 면을 생각해 보자. 그래서 내가 테스트할 미래의 시스템 들이나, 내가 테스트한 최근의 시스템들은 거의 무시해도 좋을 만큼 iostream과 stdio간의 작은 성능 차이를 보인다. 사실 어떤 부분에서 이론적으로 iostream의 적용이 stdio보다 더 빠른것을 바랄수, 찾을수 있다. 왜냐하면 iostream은 그들의 operand(인자)들을 컴파일 타임에 형을 확정하고 stdio함수들은 일반적으로 실행시간에 문자열로서 해석하기 때문이다.
         == Item 24: Understand the costs of virtual functions, multiple ingeritance, virtual base classes, and RTTI ==
         C++컴파일러는 언어상에서 각 특징을 적용할수 있는 방법을 찾아야만 한다. 물론 그런 적용 방법은 컴파일러 의존적이고, 다른 컴파일러는 다른 방법으로 언어의 특성을 적용할 것이다. 이러한 대부분의 부분에서 당신은 아마 그런 걱정은 필요 없을 것이다. 하지만 몇가지 특징의 적용에서 실행프로그램의 객체와 속도의 크기 큰영향을 준다. 그래서 이러한 영향을 주는 특징들에 관하여 기본적 이해를 하고 있는것이 중요하다. 이러한 것중 가장 앞선 특징이 가상함수(virtual function)이 될것이다.
          === Virtual Function ===
         가상 함수가 아닌(nonvirtual function) f4는 테이블에 기술되어 있지 않고, C1의
  • STL/vector . . . . 11 matches
         for(i = ar.begin() ; i != ar.end() ; ++i)
          cout << *i << endl;
         while( i != ar.end() ) {
          cout << *i << endl;
          cout << ar[j] << endl;
         vector<int>::iterator start, end;
         end = start+2; // 시작부터 2개 삭제
         ar.erase( start, end);
          for(vecIter i = nums.begin() ; i != nums.end() ; ++i)
          cout << *i << endl;
          cout << nums[j] << endl;
  • SeminarHowToProgramIt/Pipe/VendingMachineParser.py . . . . 11 matches
         #VendingMachineParser.py
         from VendingMachine import *
         class VendingMachine:
         v=VendingMachine()
         class VendingCmd:
         class PutCmd(VendingCmd):
         class PushCmd(VendingCmd):
         class VerifyMoneyCmd(VendingCmd):
         class VerifyButtonCmd(VendingCmd):
          self.err('Unexpected end of file')
          cmds.append(cmd)
  • TheJavaMan/달력 . . . . 11 matches
         public class CalendarApplet extends JApplet
          CalendarPanel panel = new CalendarPanel();
         class CalendarPanel extends JPanel
          public CalendarPanel()
          tfYear.setText(String.valueOf(Calendar.getInstance().get(Calendar.YEAR)));
          cbMonth.setSelectedIndex(Calendar.getInstance().get(Calendar.MONTH));
  • 데블스캠프2009/목요일/연습문제/MFC/서민관 . . . . 11 matches
         #endif
          // ClassWizard generated virtual function overrides
         END_MESSAGE_MAP()
         END_MESSAGE_MAP()
          pSysMenu->AppendMenu(MF_SEPARATOR);
          pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu);
          SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0);
         #endif
          // ClassWizard generated virtual function overrides
         END_MESSAGE_MAP()
         END_MESSAGE_MAP()
          pSysMenu->AppendMenu(MF_SEPARATOR);
          pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu);
          SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0);
          pWnd->SendMessage(WM_CLOSE);
  • 데블스캠프2009/목요일/연습문제/MFC/송지원 . . . . 11 matches
         #endif // _MSC_VER > 1000
          // ClassWizard generated virtual function overrides
          // Generated message map functions
         #endif // !defined(AFX_TESTDLG_H__B619E89A_C192_46A8_8358_6AC21A6D48CC__INCLUDED_)
         #endif
          // ClassWizard generated virtual function overrides
         END_MESSAGE_MAP()
         END_MESSAGE_MAP()
          pSysMenu->AppendMenu(MF_SEPARATOR);
          pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu);
          SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0);
          // send this notification unless you override the CDialog::OnInitDialog()
          // function and call CRichEditCtrl().SetEventMask()
  • 조영준/다대다채팅 . . . . 11 matches
          Console.WriteLine(TimeStamp() + "[]End");
          string dataSend = s;
          byte[] byteSend = Encoding.ASCII.GetBytes(dataSend);
          stream.Write(byteSend, 0, byteSend.Length);
          byteSend = null;
          dataGet = Encoding.ASCII.GetString(byteGet).TrimEnd('\0');
          dataGet = Encoding.ASCII.GetString(byteGet).TrimEnd('\0');
          clientSocket.SendBufferSize = 1024;
          Console.WriteLine(TimeStamp() + "[] End");
          dataGet = Encoding.ASCII.GetString(byteGet).TrimEnd('\0');
          byte[] byteSend = new byte[1026];
          byteSend=Encoding.ASCII.GetBytes(s);
          networkStream.Write(byteSend, 0, byteSend.Length);
  • 호너의법칙/남도연 . . . . 11 matches
          int function_value=0;
          function_value=j*X+t;
          j=function_value;//j는 같은 식을 반복하기 위한 변수.처음에 j는 an, 그다음에는 an*X+an-1이 된다.
          cout<<"# Horner Function Value ---->"<<function_value<<endl;
          outputFILE << "# Horner Function Value ---->"<<function_value<<endl;
          cout<<"# Horner ADD Count ---->"<<num_add<<endl;
          outputFILE << "# Horner ADD Count ---->"<<num_add<<endl;
          cout<<"# Horner Multiply Count ---->"<<num_multiply<<endl;
          outputFILE << "# Horner Multiply Count ---->"<<num_multiply<<endl;
  • 5인용C++스터디/템플릿 . . . . 10 matches
          cout << "absi(-10) = " << absi(-10) << endl;
          cout << "absd(-10.0) = " << absd(-10.0) << endl;
          cout << "absf(-10.0f) = " << absf(-10.0f) << endl;
          cout << "abs(-10) = " << abs(10) << endl;
          cout << "abs(-10.0) = " << abs(-10.0) << endl;
          cout << "abs(-10.0f) = " << abs(-10.0f) << endl;
          cout << a.GetItem(0) << endl;
          cout << a.GetItem(1) << endl;
          cout << a.GetItem(0) << endl;
          cout << a.GetItem(1) << endl;
  • AseParserByJhs . . . . 10 matches
         #define PV_NONBLEND "*PHYSIQUE_NONBLENDED_RIGIDTYPE"
         #define PV_BLEND_ASSIGNMODE "*PHYSIQUE_BLENDED_RIGIDTYPE_LIST"
         #define PV_BLEND_ASSIGN "*PHYSIQUE_VERTEXASSIGNMENT_NODE"
          virtual void Render (void* pArg) {};
         // static function
         // for(StlListItor itorAll = pSL->begin (); itorAll!= pSL->end (); ++itorAll) {
         // static function
         // static function
          for(StlListItor itor=pSL->begin (); itor!=pSL->end ();++itor) {
         // static function
          if (!strcmp (data, PV_NONBLEND)) {
          else if (!strcmp (data, PV_BLEND_ASSIGN)) {
          int nBlendAssignIndex;
          else if (!strcmp (data, PV_NONBLEND))
          else if (!strcmp (data, PV_BLEND_ASSIGNMODE))
          fscanf (s, "%d", &nBlendAssignIndex);
          else if (!strcmp (data, PV_BLEND_ASSIGN))
          pNodeList [i]->GetPSQInfo()->pV[pv_count[i]].nVIndex = nBlendAssignIndex;
  • Calendar환희코드 . . . . 10 matches
          int endday, count일, count줄;
          endday = 31;
          endday = 30;
          endday = 윤달계산(몇년);
          for(count일 = 1, count줄 = 몇요일 + 1;count일 <= endday; count일++, count줄++){
          int endday;
          endday = 31;
          endday = 30;
          endday = 윤달계산(년도);
          return ((요일 + endday) % 7);
  • CppStudy_2002_1/과제1/CherryBoy . . . . 10 matches
          cout << exam << endl;
          cout << exam << endl;
          cout << "캔디바의 이름\t:\t" << candy.name <<endl;
          cout << "캔디바의 무게\t:\t" << candy.weight << endl;
          cout << "캔디바의 칼로리\t:\t" << candy.cal << endl;
          cout << string << endl;
          cout << beany.str << endl;
          cout<<endl;
          cout << "Name \t:\t" << g.fullname << endl;
          cout << "HandyCap\t:\t" << g.handicap << endl;
  • ErdosNumbers/임인택 . . . . 10 matches
          lines.append(line)
          erdosFriend = None
          erdosFriend = name
          erdosFriend = erdosName
          if erdosFriend == erdosName:
          elif erdosFriend == None:
          erdosCoAuthorCoAuthor(allNames, names, erdosFriend)
         def erdosCoAuthorCoAuthor(allNames, names, erdosFriend):
          if name != erdosFriend :
          allNames[name] = allNames[erdosFriend] + 1
  • HowManyFibs?/황재선 . . . . 10 matches
          public int howManyFib(BigInteger start, BigInteger end) {
          if ((start.equals(zero) && end.equals(one)) ||
          (start.equals(one) && end.equals(one)) ||
          (start.equals(two) && end.equals(two))) {
          else if (start.equals(one) && end.equals(two)) {
          if (start.compareTo(fibRoom[3]) <= 0 && fibRoom[3].compareTo(end) <= 0) {
          if (fibRoom[3].compareTo(end) > 0) {
          BigInteger end = new BigInteger(line.split(" ")[1]);
          int numOfFibs = fib.howManyFib(start, end);
         public class TestFibonacci extends TestCase {
  • JavaNetworkProgramming . . . . 10 matches
          public class AuthException extends IOException{ //사용자 예외를 정의할때 적당한 예외 클래스의 서브클래스가 되는것이 중요한데
          public class SubThread extends Thread{
          public synchronized void end(){ //동기화
          public class SimpleOverwritingFileOutputStream extends OutputStream {
          public class SeekableFileOutputStream extends FileOutputStream {
          public class MarkResetFileInputStream extends FileInputStream {
          public class MyFile extends File{//이클래스 자체로 직렬화할수있지만 예제다 --;
          public class MyAltDatagramPacket extends MyDatagramPacket {
          public class MyObjectOutputStream extends ObjectOutputStream implements MyOSContants{
          public class MyObjectInputStream extends ObjectInputStream implements MyOSContants {
  • LongestNap/문보창 . . . . 10 matches
          int end;
         const int END_TIME = 18;
          pro[i].end = ehour * 60 + emin;
          if (naptime < (pro[i].start - pro[i-1].end))
          naptime = pro[i].start - pro[i-1].end;
          nap.start = pro[i-1].end;
          if (naptime < (END_TIME * 60 - pro[nPro-1].end))
          naptime = END_TIME * 60 - pro[nPro-1].end;
          nap.start = pro[nPro-1].end;
          nap.end = nap.start + naptime;
          int during = nap.end - nap.start;
  • MoinMoinTodo . . . . 10 matches
          * Macro that lists all users that have an email address; a click on the user name sends the re-login URL to that email (and not more than once a day).
          * Send a timestamp with the EditPage link, and then compare to the current timestamp; warn the user if page was edited since displaying.
          * Send a regular "changes" mail? (checkbox, plus frequency setting hourly/daily/weekly/etc.)
          * On request, send email containing an URL to send the cookie
          * configurable fonts, font sizes etc. (copy master CSS file to a user one, and send that)
          * Lynx-friendliness (keep >>> === <<< ?)
          * On request, send email containing an URL to send the cookie (i.e. login from a click into the email)
          * Checkbox: Send daily "changes" mail?
  • MoniWikiPo . . . . 10 matches
         msgid "End:"
         #: ../plugin/sendping.php:13 ../plugin/trackback.php:40
         #: ../plugin/sendping.php:54
         #: ../plugin/sendping.php:72
         msgid "Send TrackBack ping"
         #: ../plugin/sendping.php:166
         msgid "send ping"
         msgid "Send TrackBack Ping to another Blog:"
         msgid "Send notification mails to all subscribers"
         msgid "Fail to send mail"
         msgid "This wiki does not support sendmail"
  • Monocycle/조현태 . . . . 10 matches
         int GetShortPathTime(POINT startPoint, POINT endPoint)
          if (nowSuchData->nowPoint.x == endPoint.x && nowSuchData->nowPoint.y == endPoint.y)
          POINT endPoint;
          endPoint.x = j;
          endPoint.y = i;
          int calculateResult = GetShortPathTime(startPoint, endPoint);
          cout << "destination not reachable" << endl;
          cout << "minimum time = " << calculateResult << " sec" << endl;
          cout << endl;
  • PerformanceTest . . . . 10 matches
          __int64 m_nStart, m_nEnd, m_nFreq;
          m_nStart = m_nEnd = m_nFreq = 0;
          void End () {
          QueryPerformanceCounter((LARGE_INTEGER*)&m_nEnd);
          return (double)(m_nEnd - m_nStart)/m_nFreq;
          est.End ();
          void show_est(struct timeb start, struct timeb end);
          struct timeb start, end;
          ftime(&end);
          show_est(start,end);
          void show_est(struct timeb start, struct timeb end)
          time = (int)(end.time - start.time);
          millitm = (int)(end.millitm - start.millitm);
          LARGE_INTEGER start, end
          rdtscEx(start.LowPart, start.EndPart);
          rdtscEx(end.LowPart, start.EndPart);
          elasped_time = *(__int64*)&end - *(__int64*)&start;
  • RandomWalk/황재선 . . . . 10 matches
          cout << "세로, 가로의 개수의 범위를 벗어났네요. 다시 입력하세요." << endl;
          cout << "벌레가 타일의 범위를 벗어났네요. 다시 입력하세요." << endl;
          cout << endl;
          cout << "\n총 이동 횟수 : " << count << endl;
          cout << "\n(2)The final count array:" << endl;
          cout << endl;
          cout << endl;
          cout << "\n(1)최대 이동 횟수 초과되어 이동 종료" << endl;
          cout << "\n(1)The total number of legal moves: " << count << endl;
          // 시드 설정 for random function
  • STL/sort . . . . 10 matches
         #include <functional> // less, greater 쓰기 위한것
          sort(v.begin(), v.end(), less<int>()); // 오름차순
          for(VIIT it = v.begin() ; it != v.end(); ++it)
          cout << *it << endl;
          cout << endl;
          sort(v.begin(), v.end(), greater<int>()); // 내림차순
          for(VIIT it = v.begin() ; it != v.end(); ++it)
          cout << *it << endl;
          // 간단하게 오름차순 쓸거면 <functional> 없애고 sort(v.begin(), v.end()) 하면 된다.
  • VendingMachine/재니 . . . . 10 matches
          * 먼저 자판기(VendingMachine)이 필요할 것이고,
          cout << "REMAINDERS : " << remainders << endl;
         class VendingMachine{
          << detail[i].quantity << endl;
          VendingMachine vending_machine;
          vending_machine.showMenu();
          ''클래스 수가 많아서 복잡해진건 아닌듯(모 VendingMachine 의 경우 Requirement 변경에 따라 클래스갯수가 10개 이상이 되기도 함; 클래스 수가 중요하다기보다도 최종 완료된 소스가 얼마나 명료해졌느냐가 복잡도를 결정하리라 생각). 단, 역할 분담할때 각 클래스별 역할이 명료한지 신경을 쓰는것이 좋겠다. CoinCounter 의 경우 VendingMachine 안에 멤버로 있어도 좋을듯. CRC 세션을 할때 클래스들이 각각 따로 존재하는 것 같지만, 실제론 그 클래스들이 서로를 포함하고 있기도 하거든. 또는 해당 기능을 구현하기 위해 다른 클래스들과 협동하기도 하고 (Collaboration. 실제 구현시엔 다른 클래스의 메소드들을 호출해서 구현한다던지 식임). 역할분담을 하고 난 다음 모의 시나리오를 만든뒤 코딩해나갔다면 어떠했을까 하는 생각도 해본다. 이 경우에는 UnitTest 를 작성하는게 좋겠지. UnitTest 작성 & 진행에 대해선 ["ScheduledWalk/석천"] 의 중반부분이랑 UnitTest 참조.--["1002"]''
         ["CppStudy_2002_2"] ["VendingMachine"]
  • VonNeumannAirport/남상협 . . . . 10 matches
          trafficOfCity.append(int(traffic))
          self.trafficList.append(trafficOfCity)
          eachConfigure.append(int(conf))
          configureOfCity.append(eachConfigure)
          self.configureList.append(configureOfCity)
          trafficResult.append((confNum,traffic))
          trafficList.append(Data.readline().split(" "))
          configureList.append((readLineOne,readLineTwo))
          self.airportList.append(airport)
          result.append(airport.calculateTraffic())
  • WinSock . . . . 10 matches
          int nSended;
         // send (*pSocket, "Data", 5, NULL);
          nSended = send (socket, szBuffer, nRead, NULL);
          i+= max (0, nSended);
          if (nSended == SOCKET_ERROR) {
          printf ("Current : %d / %d (%d)n", dwLow, i, nSended);
          //send (socketClient, "hugugu~rn", 9, NULL);
          printf ("Program end.. n");
          send (socketClient, szCommand, 8, NULL);
  • WinampPluginProgramming/DSP . . . . 10 matches
         // Module header, includes version, description, and address of the module retriever function
         #endif
         #endif
         // otherwise returns either mod1 or mod2 depending on 'which'.
         // function that shares code for all your modules (you don't HAVE to use it though, you can make
          SendDlgItemMessage(hwndDlg,IDC_SLIDER1,TBM_SETRANGEMAX,0,18);
          SendDlgItemMessage(hwndDlg,IDC_SLIDER1,TBM_SETRANGEMIN,0,-18);
          SendDlgItemMessage(hwndDlg,IDC_SLIDER1,TBM_SETPOS,1,1);
          SendDlgItemMessage(hwndDlg,IDC_SLIDER1,TBM_SETPOS,1,0);
          g_pitch = -SendDlgItemMessage(hwndDlg,IDC_SLIDER1,TBM_GETPOS,0,0)+100;
  • 데블스캠프2006/월요일/함수/문제풀이/임다찬 . . . . 10 matches
          cout << endl;
          cout << ju42() << endl;
          cout << "첫째 난장이가 둘째를 부른다" << endl;
          cout << "둘째 난장이가 셋째를 부른다" << endl;
          cout << "셋째 난장이가 넷째를 부른다" << endl;
          cout << "넷째 난장이가 다섯째를 부른다" << endl;
          cout << "다섯째 난장이가 여섯째를 부른다" << endl;
          cout << "여섯째 난장이가 일곱째를 부른다" << endl;
          cout << "일곱째 난장이가 백설공주를 부른다" << endl;
          cout << "백설공주" << endl;
  • 벡터/김태훈 . . . . 10 matches
         #include <functional>
          sort(stre.begin(), stre.end(),compare);
          for(vector<student>::iterator i = stre.begin(); i!=stre.end() ;i++)
          cout << i->name <<"\t"<<i->score<< endl;
          cout<<"-------------------------"<<endl;
          sort(stre.begin(), stre.end(),compare2 );
          for(i = stre.begin();i<stre.end();i++)
          cout << i->name <<"\t"<<i->score<< endl;
          for(vector<student>::iterator i = stre.begin();!(i=stre.end());i++)
          cout << (*i).name << endl;
  • 스네이크바이트/C++ . . . . 10 matches
          cout << ID << " " << Name << endl;//학번과 이름 출력
          cout << b <<endl;
          cout << "천재" << endl;
          cout << *pc << endl;
          cout << c << endl;
          cout << array[i] << endl;
          cout << *(--pa) << endl;
          cout << array[i] << endl;
          cout << (*(type1.link)).data << endl;
          cout << "NULL" << endl;
  • 위키에 코드컬러라이저 추가하기 . . . . 10 matches
          endpos = string.find(line, "}} }") # 옆에 원래는 뛰어쓰기 안함
          if endpos == -1:
          self.colorize_lines.append(line)
          # send rest of line through regex machinery
          line = line[endpos+3:]
          endpos = string.find(line, "}} }") # 옆에 원래는 뛰어쓰기 안함
          if endpos == -1:
          self.colorize_lines.append(line)
          # send rest of line through regex machinery
          line = line[endpos+3:]
  • 이승한/질문 . . . . 10 matches
          cout << "in function : ";
          cout << sizeof(Ascores) << " " << sizeof(Ascores[0]) << endl;
          cout << sizeof(scores) << " " << sizeof(scores[0]) << endl;
         vs에서 타이핑하는 방식이외에 자동으로 함수를 생성해주는 바법사를 이용해 firend 함수를 생성할수는 없나요??
          cout << "in function : ";
          cout << sizeof(copyArray[0])*aLength << " " << sizeof(copyArray[0]) << endl;
          cout << endl;
          cout << endl;
          cout << sizeof(scores) << " " << sizeof(scores[0]) << endl;
          cout << endl;
  • 정모/2011.4.4/CodeRace/김수경 . . . . 10 matches
          end
          end
         end
         end
          end
          end
         end
          end
         end
         end
  • AcceleratedC++/Chapter1 . . . . 9 matches
          std::cout << "Hello, " << name << "!" << std::endl;
          // build the message that we intend to write
          std::cout << std::endl;
          std::cout << first << std::endl;
          std::cout << second << std::endl;
          std::cout << "* " << greeting << " *" << std::endl;
          std::cout << second << std::endl;
          std::cout << first << std::endl;
         초기화, end-of-file, buffer, flush, overload, const, associativity(결합방식), 멤버함수, 기본 내장 타입, 기본타입(built-in type)
  • CleanCode . . . . 9 matches
          * String.append와 PathParser.render는 둘이 서로 문자열을 합치는 작업을 하더라도 직접적인 연산을 하는 것과 추상적인 연산을 하는 것의 차이로 서로 추상화 수준이 다르다고 할 수 있다.
         var array = stringObject.match(/regexp/); // if there is no match, then the function returns null, if not returns array.
         var array = stringObject.match(/regexp/) || []; // if the function returns null, then substitute empty array.
          * module.login(id, password).success(function() {...}).fail(function() {...})으로 수정할 경우.
          * Dependency Injection
         (function() {
          console.log = function() {
  • CppStudy_2002_2/STL과제/성적처리 . . . . 9 matches
          cout << _StudentList[i]->getAverageScore() << endl;
          cout << endl;
          sort(_StudentList.begin(), _StudentList.end(), ScoreSort());
          sort(_StudentList.begin(), _StudentList.end(), NameSort());
          cout << "STL을 이용한 성적관리 프로그램" << endl;
          cout << "1. 현재 목록 보기" << endl;
          cout << "2. 이름순으로 소트해서 보기" << endl;
          cout << "3. 점수순으로 소트해서 보기" << endl;
          cout << "4. 끝" << endl;
  • Gof/Singleton . . . . 9 matches
         1. unique instance임을 보증하는 것. SingletonPattern의 경우도 일반 클래스와 마찬가지로 인스턴스를 생성하는 방법은 같다. 하지만 클래스는 늘 단일 인스턴스가 유지되도록 프로그래밍된다. 이를 구현하는 일반적인 방법은 인스턴스를 만드는 operation을 class operations으로 두는 것이다. (static member function이거나 class method) 이 operation은 unique instance를 가지고 있는 변수에 접근하며 이때 이 변수의 값 (인스턴스)를 리턴하기 전에 이 변수가 unique instance로 초기화 되어지는 것을 보장한다. 이러한 접근은 singleton이 처음 사용되어지 전에 만들어지고 초기화됨으로서 보장된다.
         다음의 예를 보라. C++ 프로그래머는 Singleton class의 Instance operation을 static member function으로 정의한다. Singleton 또한 static member 변수인 _instance를 정의한다. _instance는 Singleton의 유일한 인스턴스를 가리키는 포인터이다.
         클래스를 사용하는 Client는 singleton을 Instance operation을 통해 접근한다. _instance 는 0로 초기화되고, static member function 인 Instance는 단일 인스턴스 _Instance를 리턴한다. 만일 _instance가 0인 경우 unique instance로 초기화시키면서 리턴한다. Instance는 lazy-initalization을 이용한다. (Instance operation이 최초로 호출되어전까지는 리턴할 unique instance는 생성되지 않는다.)
         더 나아가, _instance 는 Singleton 객체의 포인터이므로, Instance member function은 이 포인터로 하여금 Singleton 의 subclass를 가리키도록 할 수 있다.
         약간 첨언을 하면, global/static 객체의 접근은 singleton들이 사용되건 사용되지 않건 간에 모든 singleton이 만들어지도록 한다는 것이다. static member function 를 사용함으로서 이러한 모든 문제들을 피할 수 있다.
         Smalltalk에서 unique instance를 리턴하는 functiond은 Singleton 클래스의 class method로 구현된다. 단일 인스턴스가 만들어지는 것을 보장하기 위해서 new operation을 override한다. The resulting Singleton class might have the following two class methods, where SoleInstance is a class variable that is not used anywhere else:
          friend CSingletonList; // C2248 해결
         #endif
          friend CSingletonList; // C2248 해결
  • Gof/State . . . . 9 matches
          void Send ();
          friend class TCPState;
          virtual void Send (TCPConnection* );
         TCPState 는 위임받은 모든 request 에 대한 기본 행위를 구현한다. TCPState는 또한 ChnageState 명령으로써 TCPConnection 의 상태를 전환할 수 있다. TCPState 는 TCPConnection 의 friend class 로 선언되어진다. 이로써 TCPState 는 TCPConnection 의 명령들에 대한 접근 권한을 가진다.
          virtual void Send (TCPConnection* );
          // send SYN, receive SYN, ACK, etc.
          // send FIN, receive ACK of FIN
         void TCPListen::Send (TCPConnection* t) {
          // send SYN, receive SYN, ACK, etc.
  • Kongulo . . . . 9 matches
         # contributors may be used to endorse or promote products derived from
          self.passwords.append([substring, uid, pw])
          lines.append(line.strip())
          self.tocrawl.append([baseurl, self.options.depth, None])
          # Create a GDS event, populate its fields, and send it off to have
          self.tocrawl.append([link, depth - 1, None])
          # the events we send, not returning until the user becomes idle.
          #event.Send(0x01)
          '''This function contains the logic for the command-line UI for Kongulo.'''
  • STL/list . . . . 9 matches
         for(i = l.begin() ; i != l.end() ; ++i)
          cout << *i << endl;
         while( i != l.end() ){
          cout << *i << endl;
          cout << "for 문에서 반복자 이용 순회" << endl;
          for(i = l.begin() ; i != l.end() ; ++i)
          cout << endl;
          cout << "while 문에서 반복자 이용 순회" << endl;
          while( i != l.end() ){
  • TheGrandDinner/조현태 . . . . 9 matches
          cout << "0" << endl;
          sort(tableSize.begin(), tableSize.end(), DeSort);
          sort(teamSize.begin(), teamSize.end(), DeSort);
          cout << "0" << endl;
          cout << "0" << endl;
          sort(tableSize.begin(), tableSize.end(), DeSort);
          cout << "1" << endl;
          sort(teamTableNumber[i].begin(), teamTableNumber[i].end());
          cout << endl;
  • ZeroPage_200_OK . . . . 9 matches
          * 월드 와이드 웹(WWW)과 W3C 표준(Recommendation)
          * 자바스크립트의 언어 특성에 따라서 배우고 기본적인 사용 문법에 대해서 배웠습니다. 명령형 구조적 프로그래밍 언어적인 부분에 대해서는 그렇게 어려운건 없었는데 그 뒤의 함수형 선언적 프로그래밍 언어 부분에서 클로저랑 함수에 함수를 인자로 주는 부분이 같이 쓰이니까 좀 복잡했었습니다. 조금 더 공부해야 할 것 같습니다. var Person = function(){}; 같은 부분나 this가 new를 했을 때에만 제대로 동작한다는 부분도 특이했습니다. 문법적인 부분 자체는 그렇게 어려운 것 같지 않은데 함수를 중첩해서 쓰거나 그런 부분이 약간 알아보기 힘든 것 같습니다. - [서영주]
          * JavaScript functions
          * 이벤트 메소드 - 이벤트 메소드에 함수를 인자로 주지 않고 실행시키면 이벤트를 발생시키는 것이고, 함수 인자를 주고 실행시키면 이벤트 핸들러에 해당 함수를 등록한다. (ex. $(".add_card").click() / $(".add_card").click(function() { ... }))
          * append(), appendTo() - jQuery에는 같은 기능의 함수인데 체이닝을 쉽게 하기 위해서 caller와 parameter가 뒤바뀐 함수들이 있다. (ex. A.append(B) == B.appendTo(A))
          * sortable(), appendTo(), data(), focus(), blur(), clone() 등의 jQuery API를 사용.
  • [Lovely]boy^_^/3DLibrary . . . . 9 matches
          friend ostream& operator << (ostream& os, const Matrix& m);
          friend Matrix operator * (float n, const Matrix& m);
          friend ostream& operator << (ostream& os, const Vector& v);
          friend Vector operator * (float n, const Vector& v);
         #endif
          os << endl;
          os << endl;
          os << v._vec[i] << endl;
          os << endl;
  • html5practice/즐겨찾기목록만들기 . . . . 9 matches
         function doSetItem(aForm) {
         function doRemoveItem(itemName) {
         function doSetFavorite(eTD){
         function doRemoveFavorite(eTD){
         function doShowFavorite(){
          console.log("end do show all");
         function doShowNFavorite(){
         function doShowAll() {
         function doClearAll(){
  • 빵페이지/도형그리기 . . . . 9 matches
          cout<<"도형그리기"<<endl<<endl;
          cout<<endl;
          cout<<"도형그리기"<<endl;
          cout<<endl;
          cout << endl;
          cout << endl;
          cout << oddf << evenf << endl;
          std::cout << buffer << std::endl;
  • 삼총사CppStudy/숙제1/곽세환 . . . . 9 matches
          cout << endl;
          cout << "rect1의 가로길이 : " << rect1.GetWidth() << endl;
          cout << "rect1의 세로길이 : " << rect1.GetHeight() << endl;
          cout << "rect1의 둘레길이 : " << rect1.GetBorderLength() << endl;
          cout << "rect1의 넓이 : " << rect1.GetArea() << endl;
          cout << "rect2의 가로길이 : " << rect2.GetWidth() << endl;
          cout << "rect2의 세로길이 : " << rect2.GetHeight() << endl;
          cout << "rect2의 둘레길이 : " << rect2.GetBorderLength() << endl;
          cout << "rect2의 넓이 : " << rect2.GetArea() << endl;
  • 이차함수그리기/조현태 . . . . 9 matches
         float function_x_to_y(float x)
          int min_y=function_x_to_y(min_x);
          if (max_y<function_x_to_y(x))
          max_y=function_x_to_y(x);
          else if (min_y>function_x_to_y(x))
          min_y=function_x_to_y(x);
          gotoxy(banollim(x-min_x+1+where_x),(where_y-banollim(function_x_to_y(x))*tab_y+max_y*tab_y));
          printf ("*");//(%.1f,%.1f)",x,function_x_to_y(x));
          printf ("%3d -> %3.0f",i+MIN_X,function_x_to_y(i+MIN_X));
  • 큐와 스택/문원명 . . . . 9 matches
          cout << "1. PUSH 2. Pop 3. Stack 4. Queue 5. Show 6. Exit" << endl;
          cout << "오버 플로우 입니다." << endl;
          cout << endl;
          cout << " 1부터 6까지의 수를 입력하세요 " << endl;
          _Str.append(1, _Traits::to_char_type(_Meta)); // 문자를 하나씩 더한다. 이때, string 객체가
          cout << "1. PUSH 2. Pop 3. Stack 4. Queue 5. Show 6. Exit" << endl;
          cout << "오버 플로우 입니다." << endl;
          cout << endl;
          cout << " 1부터 6까지의 수를 입력하세요 " << endl;
  • 하노이탑/이재혁김상섭 . . . . 9 matches
         int num(int val, int start, int end);
          cout << num(3, 1, 2) << endl;
         int num(int val, int start, int end)
          cout << start << "->" << end << endl;
          return num(val - 1, start, 6-start-end) + num(1,start,end) + num(val - 1, 6-start-end, end);
  • 현종이 . . . . 9 matches
          <<m_dAvg << endl;
          <<"\t\t"<< "이 름 : "<< m_szName << endl <<"\t\t"<<"국 어 : "
          << m_nKorean << endl;
          cout<<"\n 영어수석 " << "\t" << "번 호 : "<< m_nNumber << endl
          <<"\t\t"<< "이 름 : "<< m_szName << endl <<"\t\t"<<"영 어 : "
          << m_nEnglish << endl;
          cout<<"\n 수학수석 " << "\t" << "번 호 : "<< m_nNumber << endl
          <<"\t\t"<< "이 름 : "<< m_szName << endl <<"\t\t"<<"수 학 : "
          << m_nMath << endl;
  • 5인용C++스터디/소켓프로그래밍 . . . . 8 matches
          void SendData(CString& strData);
          m_pMainWnd->GetDlgItem(IDC_SEND)->EnableWindow(TRUE);
         void CServerApp::SendData(CString& strData)
          m_pChild->Send(LPCSTR(strData), strData.GetLength()+1);
          m_pMainWnd->GetDlgItem(IDC_SEND)->EnableWindow(FALSE);
         버튼 컨트롤ID : IDC_SEND
          GetDlgItem(IDC_SEND)->EnableWindow(FALSE);
          그리고 나서 [클래스위저드]의 CServerDlg에 IDC_SEND를 맵핑한 후 다음 코드를 추가한다.
          ((CServerApp*)AfxGetApp())->SendData(strData);
          void SendData(CString& strData);
          m_pMainWnd->GetDlgItem(IDC_SEND)->EnableWindow(TRUE);
         void CClientApp::SendData(CString& strData)
          m_pClient->Send(LPCSTR(strData), strData.GetLength()+1);
          m_pMainWnd->GetDlgItem(IDC_SEND)->EnableWindow(FALSE);
         버튼 ID : IDC_SEND, IDC_CONNECT
          [클래스위저드]의 CClientDlg에 IDC_SEND를 맵핑한 후 다음 코드를 삽입한다.
          ((CClientApp*)AfxGetApp())->SendData(strData);
  • Android/WallpaperChanger . . . . 8 matches
         public class TestdroidActivity extends Activity {
         public class MywallpaperActivity extends Activity {
         public class MyserviceActivity extends Activity {
          mTextView.append(mService.toShortString()+" started.\n");
          mTextView.append("No requested service.\n");
          mTextView.append(mService.toShortString()+" is stopped.\n");
          mTextView.append(mService.toShortString()+" is alrady stopped.\n");
         public class MyService extends Service implements Runnable{
  • BusSimulation/태훈zyint . . . . 8 matches
         #include "function.h"
          cout << endl << " ";
          cout << endl;
          cout << i << endl;
          cout << i << ":" << bus[i].getBusPos() << "," << bus[i].isstation() << ", 승객수:" << bus[i].getPassengers() <<endl;
         == function.h ==
         int zrnd(int start,int end)
          r = rand()%(end-start+1) + start;
  • CPPStudy_2005_1/STL성적처리_1 . . . . 8 matches
          s.total=accumulate(s.subjects.begin()+(s.subjects.size()-4),s.subjects.end(),0);
          transform(students.begin(),students.end(),back_inserter(sum),Sum);
          transform(students.begin(),students.end(),back_inserter(averageScore),average);
          sort(students.begin(),students.end(),totalCompare);
          for(vector<Student_info>::const_iterator it = students.begin() ; it!=students.end();++it)
          it!=subject.end() && fin>>scoreTemp;++it)
          s.total=accumulate(s.subjects.begin()+(s.subjects.size()-4),s.subjects.end(),0);
          * 이 부분에서 살짝 삽질을 했다. 처음에 s.begin() 부터 s.end() 범위로 하니깐 누적되어서 더해져서 삽질하다가 다른 방도를 찾아서 저렇게 했다.
  • CPPStudy_2005_1/STL성적처리_1_class . . . . 8 matches
         #endif
          return m_total=accumulate(m_subjects.begin(),m_subjects.end(),0);
         #endif
          it!=subject.end() && m_fin>>scoreTemp;++it)
          for(vector<Student>::iterator it = m_students.begin() ; it!=m_students.end();++it)
          for(vector<int>::const_iterator it2 = scores.begin();it2!=scores.end();++it2)
          out<<it->getTotal()<<"\t"<<it->getAverage()<<endl;
          sort(m_students.begin(),m_students.end(),::totalCompare);
  • CPPStudy_2005_1/STL성적처리_3_class . . . . 8 matches
          vector<student_table>::iterator zend() { return ztable.end(); }
          sort(z.zbegin(),z.zend(),zcompare);
          cout << "이름\t국어\t영어\t수학\t과학\t총점\t평균" << endl;
          for(vector<student_table>::iterator i=ztable.begin();i<ztable.end();++i)
          i->avg <<endl;
          for(vector<student_table>::iterator i=ztable.begin() ;i<ztable.end();++i)
          i->total = accumulate(i->score.begin()+i->score.size()-4,i->score.end(),0);
  • CPPStudy_2005_1/STL성적처리_4 . . . . 8 matches
          sort(students.begin(),students.end(),compare);
          temp.score.erase(temp.score.begin(),temp.score.end());
          //fout << a+b << endl; // cout으로 화면으로 출력한다면, fout은 연결된 output.txt에 a+b를 출력
          for(iter i = students.begin(); i != students.end(); i++)
          i->total_score = accumulate(i->score.begin(),i->score.end(),0);
          for(si_iter i = students.begin(); i != students.end(); i++)
          for(int_iter j = i->score.begin(); j != i->score.end(); j++)
          cout << i->total_score << " " << i->total_score/4 <<endl;
  • CivaProject . . . . 8 matches
         #endif // CIVA_CIVADEF_INCLUDED
         #endif // CIVA_IO_SERIALIZABLE_INCLUDED
         #endif // CIVA_LANG_ARRAY_INCLUDED
          virtual CharSequence_Handle subSequence(int start, int end) = NULL;
         #endif // CIVA_LANG_CHARSEQUENCET_INCLUDED
         #endif // CIVA_LANG_COMPARABLE_INCLUDED
         #endif // CIVA_LANG_OBJECT_INCLUDED
         #endif // CIVA_LANG_STRING_INCLUDED
  • CppStudy_2002_1/과제1/Yggdrasil . . . . 8 matches
          cout<<string.str<<endl;
          cout<<str<<endl;
          cout<<"\nGolfer's Name: "<<g.fullname<<endl;
          cout<<"제일 큰 수는 "<<maximum_double<<endl;
          cout<<"제일 큰 수는 "<<maximum_int<<endl;
          cout<<ret_int<<endl;
          cout<<ret_double<<endl;
          cout<<ret_char_p<<endl;
  • EightQueenProblem/nextream . . . . 8 matches
         function display() {
         function safe(line) {
         function check(line) {
         function printBefore(position) {
         function printAfter(position) {
         function display() {
         function safe(line) {
         function check(line) {
  • FromDuskTillDawn/조현태 . . . . 8 matches
         string g_suchEndTown;
          char endStationName[BUFFER_SIZE];
          sscanf(readData, "%s %s %d %d", startStationName, endStationName, &startTime, &delayTime);
          thisStation->nextTown.push_back(SuchOrAddTown(endStationName));
          sscanf(readData, "%s %s", startStationName, endStationName);
          g_suchEndTown = endStationName;
         void SuchTown(STown* startTown, STown* endTown)
          if (g_suchEndTown == suchTown->nextTown[i]->name)
          g_suchEndTown.clear();
          SuchTown(SuchOrAddTown(g_suchStartTown.c_str()), SuchOrAddTown(g_suchEndTown.c_str()));
          cout << "There is no route Vladimir can take." << endl;
          cout << "Vladimir needs " << g_minimumDelayTime / 24 << " litre(s) of blood. " << endl;
  • HowManyPiecesOfLand?/문보창 . . . . 8 matches
          friend void elminatePreZero(BigInteger& n)
          friend int compare(BigInteger& a, BigInteger& b)
          friend void shiftDigit(BigInteger& n, int d)
          friend BigInteger operator+(BigInteger a, BigInteger b)
          friend BigInteger operator-(BigInteger a, BigInteger b)
          friend BigInteger operator*(BigInteger a, BigInteger b)
          friend BigInteger operator/(BigInteger a, BigInteger b)
          cout << endl;
  • LUA_5 . . . . 8 matches
         > for i = 1,#Fruit do print(Fruit[i]) end
         >function Car(name)
         >> local function Go()
         >> end
         >> return { Go = Go } -- 여기서 local function Go를 반환하므로 Car에 대한 맴버 함수로 사용할 수 있다.
         >> end
         > function Car:new (obj)
         >> end
  • LUA_6 . . . . 8 matches
         > mt = { __add = function(a,b) return { value = a.value + b.value } end } -- '+' 연산자에 대한 metatable을 작성
         > mt.__index = function(x,key)
         >> if key == 'copy_value' then return { value = x.value } end
         >> end
         > instance = { value = 0, set_value = function(self, value) self.value = value end }
          stdin:1: in function 'set_value'
  • LawOfDemeter . . . . 8 matches
         within our class can we just starting sending commands and queries to any other object in the system will-
         ()). Direct access of a child like this extends coupling from the caller farther than it needs to be. The
         caller is depending on these facts:
         Now the caller is only depending on the fact that it can add a foo to thingy, which sounds high level
         enough to have been a responsibility, not too dependent on implementation.
         The disadvantage, of course, is that you end up writing many small wrapper methods that do very little but
         something somewhere else. This tends to create fragile, brittle code.
         Depending on your application, the development and maintenance costs of high class coupling may easily
  • MineFinder . . . . 8 matches
         Profile: Function timing, sorted by time
          Time outside of functions: 28.613 millisecond
          Total functions: 660
          Function coverage: 52.1%
          Functions in module: 660
          Module function coverage: 52.1%
          Time % Time % Count Function
         F:WorkingTempMinerFinderMinerBitmapAnalyzer.cpp(135): rgb = screendc->GetPixel (nX+nBi,nY+nBj);
         BOOL CMinerBitmapAnalyzer::CompareBitmapBlock (CDC* pDC, CDC* screendc, int nX, int nY, int nWidth, int nHeight, CDC* bmpdc, int nSrcX, int nSrcY)
          rgb = screendc->GetPixel (nX+nBi,nY+nBj);
         BOOL CMinerBitmapAnalyzer::CompareBitmapCenterLine (CDC* screendc, int nX, int nY, int nWidth, int nHeight, CDC* bmpdc, int nSrcX, int nSrcY)
          rgb = screendc->GetPixel (nX+nBi,nY+nBj);
  • NSIS/Reference . . . . 8 matches
         || SectionEnd || || Section의 끝을 알리는 attribute||
         == Function (함수) ==
         함수는 Section과 비슷한 역할을 한다. 하지만, 다른 점이라면 함수는 installer 에서 직접 선택하여 호출하는것이 아니라, Section 에서 Call 명령어를 통해 호출되어 인스톨러의 기능의 일부들을 보충하는 역할을 한다. 그리고 특별한 경우로써, Callback Function들이 있다.
         || 함수들은 Section 이나 Function 안에서 정의되면 안된다.
         || 함수들중 '.' 으로 시작되는 함수들은 기본적으로 Callback function으로 예약되어있다.
         || Function || function_name || 하당 함수이름으로 함수 선언 ||
         ||FunctionEnd || || 함수의 끝을 알린다. ||
         Label 은 반드시 Section 이나 Function 내에 존재해야 한다. Label 은 해당 Section 과 Function 내에서만 그 범위를 가진다.
         || SendMessage || . || . ||
         || GetFunctionAddress || . || . ||
          SectionEnd
         == Callback functions ==
         인스톨 과정중 발생하는 이벤트에 대한 callback function.
         언인스톨 과정중 발생하는 이벤트에 대한 callback function.
          * !endif
          * !macroend
  • RandomWalk/임민수 . . . . 8 matches
          int num,x,y,cnt=0,total=0,end=1,temp;
          while(end < num*num)
          end++;
          cout << endl;
          cout << endl << "총 이동횟수는 " <<total<<endl;
          EndCount=0;
          cout << endl;
          cout << endl;
          EndCount++;
         bool Board::IsNotEnd()
          if (EndCount < 25)
          }while(board.IsNotEnd());
          }while(board.IsNotEnd());
          }while(board.IsNotEnd());
  • SmalltalkBestPracticePatterns/DispatchedInterpretation . . . . 8 matches
         Sometimes, however, information in one object must influence the behavior of another. When the uses of the information are simple, or the possible choices based on the information limited, it is sufficient to send a message to the encoded object. Thus, the fact that boolean values are represented as instances of one of two classes, True and False, is hidden behind the message #ifTrue:ifFalse:.
         * ''Have the client send a message to the encoded object. PAss a parameter to which the encoded object will send decoded messages.''
         Rather than Shapes providing #commandAt: and #argumentsAt:, they provide #sendCommantAt: anInteger to: anObject, where #lineFrom:to: is one of the messages that could be sent back. Then the original display code could read:
          sendCommandAt: each
         Shape>>sendCommandsTo: anObject
          sendCommandAt: each
          aShape sendCommandsTo: self
  • UDK/2012년스터디/소스 . . . . 8 matches
         class ESGameInfo extends UTDeathmatch;
         // definition of member variable, assigning value is done at defaultproperties function
          // Extend PlayerController class to custom class
         // Event occured when character logged in(or creation). There are existing function PreLogin, PostLogin functions.
         class ESPlayerController extends UTPlayerController;
         simulated function bool CalcCamera( float fDeltaTime, out vector out_CamLoc, out rotator out_CamRot, out float out_FOV )
         class SeqAct_ConcatenateStrings extends SequenceAction;
  • c++스터디_2005여름/실습코드 . . . . 8 matches
          cout<<munja<<endl;
          cout << find_moon_ja << "문자를 찾을 수가 없습니다." <<endl;
          cout << i+1 << "번째 " << find_moon_ja << "문자가 있습니다." <<endl;
          cout << find_moon_ja << "문자를 찾을 수가 없습니다." <<endl;
          cout << i+1 << "번째 " << find_moon_ja << "문자가 있습니다." <<endl;
          cout << moon_ja <<endl;
          cout << moon_ja <<endl;
          cout << moon_ja <<endl;
  • 데블스캠프2005/Python . . . . 8 matches
         >>> help(l.append)
         Help on built-in function append:
         append(...)
          L.append(object) -- append object to end
         >>> L.append(100) 추가
  • 데블스캠프2006/월요일/연습문제/if-else/임다찬 . . . . 8 matches
          cout << "3의배수" << endl;
          cout << endl;
          cout << "5d의배수"<<endl;
          cout<<endl;
          cout << "error" << endl;
          cout << "영문자" << endl;
          cout << "숫자" << endl;
          cout << "특수문자" << endl;
  • 데블스캠프2006/월요일/함수/문제풀이/김준석 . . . . 8 matches
          cout << "대원은 40명이상 보트당 대원은 7명 이하 모든 대원에게 무기지급한다면 성공!" << endl;
          cout << "대원 보트수 총기수 대로 입력" << endl;
          cout << "대원 한명당" <<(rand()%(daewon/10) +1) * (int)(weapon_num/daewon) << "명죽이고 " << endl;
          cout << "성공!!" << endl;
          cout << (rand()%(weapon_num/10) +1) / daewon << "명죽이고 " << endl;
          cout << "실패!!" << endl;
          cout << "나온 주사위 값은 " << dice() << "입니다." <<endl;
         void call_back(){ cout << "백설공주" << endl;
  • 데블스캠프2006/월요일/함수/문제풀이/윤성준 . . . . 8 matches
          cout << "1" << endl;
          cout << "2" << endl;
          cout << "3" << endl;
          cout << "4" << endl;
          cout << "5" << endl;
          cout << "6" << endl;
          cout << "7" << endl;
          cout << "공주" << endl;
  • 벡터/곽세환,조재화 . . . . 8 matches
          sort(vec.begin(), vec.end(), compare);
          for (i = vec.begin(); i < vec.end(); i++)
          cout << i->name << " " << i->score << endl;
          cout<<"------------------------------"<<endl;
          sort(vec.begin(), vec.end(), compareName);
          for (i = vec.begin(); i < vec.end(); i++)
          cout << i->name << " " << i->score << endl;
          cout<< (student)vec[i].name << endl;
  • 벡터/박능규 . . . . 8 matches
         #include <functional>
          sort(sp.begin(), sp.end(), compare);
          for(vector<student>::iterator i= sp.begin();i!=sp.end(); i++)
          cout << i->name <<"\t"<< i->score << endl;
          cout << "-------------------------------------"<<endl;
          sort(sp.begin(),sp.end(),compare2);
          for(i=sp.begin();i<sp.end();i++)
          cout << i->name<<"\t"<<i->score<< endl;
  • 삼총사CppStudy/20030806 . . . . 8 matches
          * friend 함수를 위해서는 VS 6.0 sp 5를 깔아야 한다.[http://download.microsoft.com/download/vstudio60ent/SP5/Wideband-Full/WIN98Me/KO/vs6sp5.exe]
          os << "x: " << a.GetX() << " y: " << a.GetY() << endl;
          cout << "--v1값--" << endl;
          cout << v1 << endl;
          cout << "--v2값--" << endl;
          cout << v2 << endl;
          cout << "--v3값--" << endl;
          cout << v3 << endl;
  • 압축알고리즘/홍선,수민 . . . . 8 matches
         int start_Number, end_Number;
          end_Number= index;
          end_Number= index;
          for(j=start_Number ;j<= end_Number;j++)
          cout << buffer[end_Number+1];
          cout << endl;
          cout << endl;
          cout << endl;
  • 오목/곽세환,조재화 . . . . 8 matches
         #endif // _MSC_VER > 1000
          // ClassWizard generated virtual function overrides
          virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
         #endif
         // Generated message map functions
         #endif
         #endif // !defined(AFX_OHBOKVIEW_H__1263A16D_AC1C_11D7_8B87_00105A0D3B1A__INCLUDED_)
         #endif
         END_MESSAGE_MAP()
         void COhbokView::OnEndPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
         #endif //_DEBUG
  • 오목/민수민 . . . . 8 matches
         #endif // _MSC_VER > 1000
          // ClassWizard generated virtual function overrides
          virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
         #endif
         // Generated message map functions
         #endif
         #endif // !defined(AFX_SAMPLEVIEW_H__7D3F7617_AE70_11D7_A975_00010298970D__INCLUDED_)
         #endif
         END_MESSAGE_MAP()
         void CSampleView::OnEndPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
         #endif //_DEBUG
  • 오목/재니형준원 . . . . 8 matches
         #endif // _MSC_VER > 1000
          // ClassWizard generated virtual function overrides
          virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
         #endif
         // Generated message map functions
         #endif
         #endif // !defined(AFX_OMOKVIEW_H__95EACAA5_FAEA_4766_A6B3_6C6245050A8B__INCLUDED_)
         #endif
         END_MESSAGE_MAP()
         void COmokView::OnEndPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
         #endif //_DEBUG
  • 오목/재선,동일 . . . . 8 matches
         #endif // _MSC_VER > 1000
          // ClassWizard generated virtual function overrides
          virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
         #endif
         // Generated message map functions
         #endif
         #endif // !defined(AFX_SINGLEVIEW_H__E826914F_AE74_11D7_8B87_000102915DD4__INCLUDED_)
         #endif
         END_MESSAGE_MAP()
         void CSingleView::OnEndPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
         #endif //_DEBUG
  • 오목/진훈,원명 . . . . 8 matches
         #endif // _MSC_VER > 1000
          // ClassWizard generated virtual function overrides
          virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
         #endif
         // Generated message map functions
         #endif
         #endif // !defined(AFX_OMOKVIEW_H__5E50035A_B51D_11D7_8B86_00105A0D3B05__INCLUDED_)
         #endif
         END_MESSAGE_MAP()
         void COmokView::OnEndPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
         #endif //_DEBUG
  • 2학기자바스터디/운세게임 . . . . 7 matches
         Date와 Calendar 클래스를 이용하는 방법이 있습니다
         == Calendar ==
          Calendar now = Calendar.getInstance(); // 새로운 객체를 생성하지않고 시스템으로부터 인스턴스를 얻음
          int hour = now.get(Calendar.HOUR); // 시간 정보 얻기
          int min = now.get(Calendar.MINUTE); // 분 정보 얻기
          Calendar클래스 상수
  • 8queen/문원명 . . . . 7 matches
          int endFind = 0, count = 0;
          if (count == 0) endFind = 1; //종료조건
          if(endFind == 0)
          cout<<endl;
          cout<<endl<<endl;
          }while(endFind == 0);
  • AcceleratedC++/Chapter12 . . . . 7 matches
          === 12.3.2 프렌드(Friend) ===
          이런 경우의 함수를 '''friend''' 로 정의 하여 해결하는 것이 가능하다.
          함수를 friend 로 정의하면 인자로 받은 형에대해서는 형의 접근자가 무시된다.
         friend std::istream& operator>>(std::istream&, Str&);
          friend 함수는 접근제어 레이블에 영향을 받지 않기 때문에 어디에 선언을 해도 무관하나, 가능하면 클래스 선언의 최초 부분에 놓는 것이 좋다.
          friend std::istream& operator>>(std::istream&, Str&);
          std::copy(s.data.begin(), s.data.end(),
  • AcceleratedC++/Chapter9 . . . . 7 matches
          '''friend 함수를 의미하는 것'''
          name 멤버 함수와 같이 클래스 내부에 정의를 하는 것은 inline으로 함수를 정의하는 것도 동일한 효과를 가진다. 이렇게 멤버변수에 접근을 위해서 만들어지는 함수를 통칭 '''접근함수(accessor function)'''이라고 부른다.
         #endif
         using std::domain_error; using std::endl;
          sort(students.begin(), students.end(), compare);
          << setprecision(prec) << endl;
          cout << e.what() << endl;
  • C 스터디_2005여름/학점계산프로그램/김태훈김상섭 . . . . 7 matches
          for(vector<double>::iterator i=score.begin();i !=score.end();++i)
         #endif
          sort(ban.begin(),ban.end(),zcompare);
          cout << i->getname() << "\t" << i->getavg() << endl;
          cout << endl;
          for(i=ban.begin();i!=ban.end();++i)
          cout << i->getname() << "\t" << i->getavg() << endl;
  • CPPStudy_2005_1/질문 . . . . 7 matches
         using std::endl; using std::string;
          cout << "Hello, " << name << "!" << endl;
          "followed by endoffile:";
          cout << endl << "You must enter your grades. "
          "Please try again." << endl;
          sort(homework.begin(),homework.end());
          << setprecision(prec) << endl;
  • Calendar성훈이코드 . . . . 7 matches
         == Calendar.h ==
         void printCalender(int year, int first);
         == Calendar.cpp ==
         #include "Calender.h"
         void printCalender(int year, int first)
         #include "Calender.h"
          printCalender(year, first);
  • CeeThreadProgramming . . . . 7 matches
         unsigned __stdcall ThreadedFunction( void* pArguments )
          _endthreadex( 0 );
          hThread = (HANDLE)_beginthreadex( NULL, 0, &ThreadedFunction, NULL, 0, &threadID );
          hThread2 = (HANDLE)_beginthreadex( NULL, 0, &ThreadedFunction, NULL, 0, &threadID2 );
         void *print_message_function( void *ptr );
         /* Create independent threads each of which will execute function */
         iret1 = pthread_create( &thread1, NULL, print_message_function, (voi d*) message1);
         iret2 = pthread_create( &thread2, NULL, print_message_function, (voi d*) message2);
         void *print_message_function( void *ptr )
  • DevelopmentinWindows/APIExample . . . . 7 matches
          EndDialog(hDlg, LOWORD(wParam));
         #endif //_WIN32
         END
         END
         END
         #endif // APSTUDIO_INVOKED
          END
          END
         END
         END
          END
         END
         #endif // APSTUDIO_INVOKED
         #endif // Korean resources
         #endif // not APSTUDIO_INVOKED
         //{{NO_DEPENDENCIES}}
         #endif
         #endif
  • HowManyFibs?/하기웅 . . . . 7 matches
         char start[101], end[101];
         int output(BigInteger startNum, BigInteger endNum)
          if(fibNum[i]>=startNum && fibNum[i]<=endNum)
          while(cin>>start>>end)
          if(start[0] == '0' && end[0] =='0')
          cout << output(convertBig(start), convertBig(end)) << endl;
  • JavaScript/2011년스터디/3월이전 . . . . 7 matches
         function f(){
         function func(){
          * a[0] = function(x) { return x*x; };
          * 네임스페이스 사용 시 org.zeropage.namespace는 되고 org.zeropage.namespace.function1은 안 되는 이유
          * 네임스페이스 사용 시 org.zeropage.namespace는 되고 org.zeropage.namespace.function1은 안 되는 이유
          * 자율적으로 function 3가지 골라 어떻게 작동하는지 이해할 것
          * 자율적으로 function 3가지 골라 어떻게 작동하는지 이해할 것
  • OOP/2012년스터디 . . . . 7 matches
         int mEnd[13]={29,31,28,31,30,31,30,31,30,30,31,30,31};
          if(isLeafYear==true&&month==2) eDay=mEnd[0];
          else eDay=mEnd[month];
         // Calender
          int month,day=1,myYear,date=1,monthEndDate;
          monthEndDate=31;
          monthEndDate=30;
          monthEndDate=28;
          monthEndDate=29;
          for(;date<=monthEndDate;date++){
          cout<<endl;
          cout<<"\t\t\t"<<year<<"년 "<<month<<"월"<<endl<<endl;
          cout<<"월\t화\t수\t목\t금\t토\t일"<<endl;
          cout<<endl;
          cout<<endl;
  • OperatingSystemClass/Exam2002_2 . . . . 7 matches
         class A extends Thread
         class B extends Thread
         6. Consider a file currently consisting of 100 blocks. Assume that the file control block(and the index block, in the case of indexed allocation) is already in memory, Calculate how many disk I/O operations are required for contiguous, linked and indexed (single-level) allocation strategies, if for one block, the following conditions hold. In the contiguous allocation case, assume that there is no room to grow in the beginning, but there is room to grow in the end. Assume that the block information to be added in stored in memory.
          * The block is added at the end.
          * The block is removed from the end.
         7. Suppose that a disk drive has 5000 cylinders, numbered 0 to 4999. The drive is currently serving a request at cylinder 143, and the previous requrest was at cylinder 125. The queue of pending requests, in FIFO order, is
         Starting from the current head position, what is the total distance (in cylinders) that the disk arm moves to satisfy all the pending requrests, for each of the following disk scheduling algorithms?
  • OurMajorLangIsCAndCPlusPlus/2006.2.06/허준수 . . . . 7 matches
          //friend ostream& operator << (ostream& o, myString &s);
          cout << s[2] << endl;
          cout << s<<endl;
          cout << s1 << s2 <<endl;
          cout << s << s.length() << endl;
          cout << s2 <<endl;
          cout << "input string : " << s <<endl;
  • Pairsumonious_Numbers/권영기 . . . . 7 matches
          for(it1 = iter; it1 != sum.end() && !flag; it1++){
          for(it2 = temp; it2 != sum.end() && !flag; it2++){
          tempit = find(it2, sum.end(), ans[s-1] + ans[s]);
          //back(s+1, find(it2, sum.end(), ans[s-1] + ans[s]));
          for(iter = sum.begin(); iter!=sum.end(); iter++){
          tempit = find(sum.begin(), sum.end(), ans[2]+ans[3]);
          //back(4, find(sum.begin(), sum.end(), ans[2] + ans[3]));
  • Plugin/Chrome/네이버사전 . . . . 7 matches
         req.send(null);
         function showPhotos() {
          document.body.appendChild(img);
         function constructImageURL(photo) {
         function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar,
          * javascript의 다른 예제를 확인하니 document.body.ondblclick = 함수명 을 작성하면 똑같이 작동되는것을 확인했다.
          * inline script를 cross script attack을 방지하기 위해 html과 contents를 분리 시킨다고 써있다. 이 규정에 따르면 inline으로 작성되어서 돌아가는 javascript는 모두 .js파일로 빼서 만들어야한다. {{{ <div OnClick="func()"> }}}와 같은 html 태그안의 inline 이벤트 attach도 안되기 때문에 document의 쿼리를 날리던가 element를 찾아서 document.addEventListener 함수를 통해 event를 받아 function이 연결되게 해야한다. 아 이거 힘드네. 라는 생각이 들었다.
  • Robbery/조현태 . . . . 7 matches
          if (g_saveMessageTime.end() == find(g_saveMessageTime.begin(), g_saveMessageTime.end(), receiveTime - 1))
          cout << "Robbery #" << testCaseNumber << ":" << endl;
          cout << "The robber has escaped." << endl;
          cout << "Time step " << i + 1 << ": The robber has been at " << g_maxPoints[0][i].x + 1 << "," << g_maxPoints[0][i].y + 1 << "." << endl;
          cout << "Nothing known." << endl;
          cout << endl;
  • STL/map . . . . 7 matches
         for(map<int, int>::iterator i; i = m.begin() ; i != m.end() ; ++i) {
          << "value: " << (*i).second << endl;
          cout << "전화 번호부의 내용은 " <<endl;
          for ( ; i != directory.end();i++)
          << " 전화번호: " << (*i).second << endl;
          cout << "입니다. "<<endl;
          if (directory.find(name) != directory.end())
  • STL/vector/CookBook . . . . 7 matches
          for(VIIT it = v.begin() ; it != v.end(); ++it) // 제대로 복사됐나 결과 보기
          cout << *it << endl;
          * for 부분을 보면 앞에서 typedef 해준 VIIT 형으로 순회하고 있는것을 볼수 있다. vector<T>의 멤버에는 열라 많은 멤버함수가 있다. 그중에 begin() 은 맨 처음 위치를 가르키는 반복자를 리턴해준다. 당연히 end()는 맨 끝 위치를 가르키는 반복자를 리턴해주는 거라고 생각하겠지만 아니다.--; 정확하게는 '맨 끝위치를 가르키는 부분에서 한 칸 더간 반복자를 리턴'해주는 거다. 왜 그렇게 만들었는지는 나한테 묻지 말라. 아까 반복자는 포인터라고 생각하라 했다. 역시 그 포인터가 가르키는 값을 보려면 당연히 앞에 * 을 붙여야겠지.
          cout << i+1 << "번ㅤㅉㅒㅤ" << endl;
          << c << endl;
          for(VOIT it = v.begin() ; it != v.end() ; ++it)
          for(it = v.begin() ; it != v.end() ; ++it)
  • ScheduledWalk/석천 . . . . 7 matches
          return IsJourneyEnd() || IsAllBoardChecked();
         BOOL IsJourneyEnd();
          return IsJourneyEnd() || IsAllBoardChecked();
         BOOL IsJourneyEnd() {
         다음 모듈 - ScheduledWalk() 관련. Depth First 에 입각하여. 그리고 이쯤에서 TestDrivenDevelopment 를 약간 가미해봅시다.
         해당 함수 모듈이 완료되었을 것이라 가정하고 코드를 작성해봅니다. 여기서는 IsFinished() 에 일단 주목. (가장 깊은 단계인 IsJourneyEnd 와 IsAllBoardChecked 를 실행해주는 부분이므로)
          assert (IsJourneyEnd(journey, currentPosition) == false); // 즉, 이 경우면 여정은 끝나지 않았음을 '단언' 합니다.
          // return IsJourneyEnd() || IsAllBoardChecked();
         BOOL IsJourneyEnd() { // 아직 구현 안했습니다.
         BOOL IsJourneyEnd(PSTR journey, int currentPosition) {
          assert (IsJourneyEnd(journey, currentPosition) == false);
          assert (IsJourneyEnd(journey, currentPosition) == false);
          assert (IsJourneyEnd(journey, currentPosition) == true);
          // return IsJourneyEnd() || IsAllBoardChecked();
          assert (IsJourneyEnd(journey, currentPosition) == false);
          assert (IsJourneyEnd(journey, currentPosition) == false);
          assert (IsJourneyEnd(journey, currentPosition) == true);
          return IsJourneyEnd(journey, currentPosition) || IsAllBoardChecked(board, maxRow, maxCol);
         BOOL IsJourneyEnd(PSTR journey, int currentPosition) {
          BOOL IsJourneyEnd(PSTR journey, int currentPosition);
  • Self-describingSequence/shon . . . . 7 matches
         function idx = selfd(N)
          end
          end
         end
         function i = selfdscribing(N)
          end
         end
  • TheTrip/이승한 . . . . 7 matches
          double endSum[10] = {0.0}; //결과값을 저장한다.
          cout<<aver<<endl;
          endSum[travelN] += ( aver - stu[i] ); //평균에서 stu[i]를 빼 결과값에 누적시킨다.
          cout<<endSum[travelN]<<endl;
          cout<<float(endSum[i])<<endl;
  • UnixSocketProgrammingAndWindowsImplementation . . . . 7 matches
         데이터를 Big-Endian으로 변환 시켜주는 체계.
          htons(): host-to-network 바이트 변환 (Big-Endian으로 변환)
          htonl(): host-to-network 바이트 변환 (Big-Endian으로 변환)
          ※ 왜 우리는 데이터를 Big-Endian으로 변환 시켜주어야할까?
          ※ 그렇다면 우리가 전송하는 데이터 모두 Big-Endian으로 변환 시켜주어야할까?
         // u_short sin_port 은 Big-Endian을 사용한다.
         // 따라서 Little_Endian을 사용하는 시스템에서는 Big-Endian으로 바꿔줘야한다.
          inet_addr(): 주소를 long형으로 계산하고 htonl()를 사용해 Big-Endian으로 변환 후 값을 return 한다.
          // 2780961665 의 값은 Little-Endian 체계에서는 811BC2A5이다.
         == send/write - 상대에게 데이터를 보낸다. ==
         ssize_t send(int fildes, const void * buf, size_t nbytes, unsigned int flags);
          if( send(client_sock, buf1, sizeof(buf), 0) == -1 )
          fprintf(stderr, "send error");
         // 타 시스템으로 이식을 위해 되도록 send를 사용하는 것이 좋다.
         // 타 시스템으로 이식을 위해 되도록 send를 사용하는 것이 좋다.
          send(client_sock, msg, sizeof(msg), 0);
  • WorldCupNoise/권순의 . . . . 7 matches
          cout << endl;
          cout << "Scenario #" << i + 1 << ":" << endl << trumpet(scenario[i]) << endl << endl;
          cout << "Scenario #" << i + 1 << ":" << endl << trumpet(scenario[i]) << endl << endl;
  • aekae/code . . . . 7 matches
          cout << endl;
          cout << endl;
          cout << endl;
          cout << "값을 초과하였습니다." << endl;
          cout << char(in[i-1]) << endl;
          cout << i << "번째 값 삭제" << endl;
          cout << in[j] << endl;
  • study C++/남도연 . . . . 7 matches
          friend void search(munja);
          cout<<"문자열을 입력하시오"<<endl;
          cout<<"찾을 문자는?"<<endl;
          cout<<"찾은 문자의 위치는 "<<i+1<<"입니다."<<endl;
          cout<<"추가되어 완성된 문자열은"<<A.a<<B.a<<"입니다"<<endl;
          cout<<"반복할 횟수를 입력하세요"<<endl;
          cout<<C.a<<endl;
  • 데블스캠프2009/목요일/연습문제/MFC/김태욱 . . . . 7 matches
         #endif
          // ClassWizard generated virtual function overrides
         END_MESSAGE_MAP()
         END_MESSAGE_MAP()
          pSysMenu->AppendMenu(MF_SEPARATOR);
          pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu);
          SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0);
          // send this notification unless you override the CDialog::OnInitDialog()
          // function and call CRichEditCtrl().SetEventMask()
  • 데블스캠프2009/목요일/연습문제/MFC/정종록 . . . . 7 matches
         #endif
          // ClassWizard generated virtual function overrides
         END_MESSAGE_MAP()
         END_MESSAGE_MAP()
          pSysMenu->AppendMenu(MF_SEPARATOR);
          pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu);
          SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0);
          // send this notification unless you override the CDialog::OnInitDialog()
          // function and call CRichEditCtrl().SetEventMask()
  • 몸짱프로젝트/CrossReference . . . . 7 matches
          * 개발방식 : TestDrivenDevelopment
          cout << "WORD\t\tCOUNT\t\tLINES" << endl;
          cout << "TOTAL\t\t" << count << endl;
         << aNode->lines << endl;
         aOs << "WORD" << "\t\t\t" << "COUNT" << "\t\t" << "LINES" << endl
         << "--------------------------------------" << endl;
         aOs << "--------------------------------------" << endl
         << "TOTAL" << "\t\t" << num_of_node++ << endl;
  • 벡터/황재선 . . . . 7 matches
          sort(ss.begin(), ss.end(), compareWithName);
          for (vector<student>::iterator i = ss.begin(); i < ss.end(); i++) // 오름차순
          cout << (*i).name << "\t" << (*i).score << endl;
          cout << endl;
          sort(ss.begin(), ss.end(), compareWithScore);
          for (i = ss.begin(); i < ss.end(); i++) // 오름차순
          cout << (*i).name << "\t" << (*i).score << endl;
  • 비밀키/권정욱 . . . . 7 matches
          cout << endl;
          fout << endl;
          cout << endl;
          ffout << endl;
          cout << endl;
          fout << endl;
          cout << endl;
  • 비밀키/황재선 . . . . 7 matches
          cout << "원본값" << endl;
          cout << endl;
          cout << "암호화" << endl;
          cout << endl;
          fout << endl;
          cout << "복호화" << endl;
          cout << endl;
  • 새싹교실/2012/개차반 . . . . 7 matches
          * variable 및 main function의 역할 설명
          * High-Level 언어에 가까울수록 사람이 이해하기 쉬워진다 (Human Friendly)
          * Low-Level 언어에 가까울수록 기계가 이해하기 쉬워진다 (Machine Friendly)
          * 함수 (Function) 들의 집합
          * function: input -> output
          * Main function
          * It has start and end point of a program.
          * return 0; : 0 is a flag noticing OS that program is ended.
  • 10학번 c++ 프로젝트/소스 . . . . 6 matches
          std::cout<<m<<" : "<<std::setw(2)<<std::setfill('0')<<s<<" : "<<std::setw(2)<<std::setfill('0')<<ms<<std::endl;
          std::cout<<m<<" : "<<std::setw(2)<<std::setfill('0')<<s<<" : "<<std::setw(2)<<std::setfill('0')<<ms<<std::endl;
          std::cout<<m<<" : "<<std::setw(2)<<std::setfill('0')<<s<<" : "<<std::setw(2)<<std::setfill('0')<<ms<<std::endl;
          if(button=='2'){//시간을 증가 시키는 경우. function으로 묶어 줘야 할듯...
          if(button=='3'){//설정 시간 위치를 바꾸는 경우. 역시 function으로 묶어줘야 할듯....
         /*여기까진데, function 으로 묶어 주는 게 필요 할 것 같고
  • 2학기파이선스터디/클라이언트 . . . . 6 matches
          * SendMessage? : 서버로 메시지를 보낸다.
          self.show.insert(END, str(i))
          self.list.insert(END, str(i))
          self.edit.delete(0, END)
         ## csock.send(User)
          def sendMessage(self, event):
          self.edit.delete(0, END)
          csock.send(aUser)
          self.show.insert(END, "< " + str(aUser.ID) + " > : " + str(aUser.message))
         ## csock.send(user)
          root.bind("<Return>", win.sendMessage)
  • 5인용C++스터디/클래스상속 . . . . 6 matches
          cout<<endl<<"age : "<<cho.get_age();
          cout<<endl<<"age : "<<blank.get_age();
          cout<<endl;
          cout<<endl<<"age : "<<park.get_age();
          cout<<endl<<"salary : "<<park.get_salary();
          cout<<endl;
  • A_Multiplication_Game/권영기 . . . . 6 matches
         long long int n, start1, end1, start2, end2;
          end1 = start2 - 1;
          if(start1 <= 1 && 1 <= end1)break;
          swap(end1, end2);
  • Ant . . . . 6 matches
          Ant 의 몇몇 특정 Task 들의 경우 (JUnit, FTP, Telnet 등) 해당 라이브러리가 필요하다. 이는 http://jakarta.apache.org/ant/manual/install.html#librarydependencies 항목을 읽기 바란다.
          기존의 Makefile 이라던지 다른 Build 툴을 보면 의존관계(Dependency)라는 것이 있을 것이다. 즉, 배포(distribute)라는 target 을 수행하기 전에 compile 이라는 target 을 먼저 수행해야 하는 의존 관계가 발생할 수 있을 것이다. ''target'' 에서는 이런 의존관계(dependency)를 다음과 같은 방법으로 제공한다.
          <target name="B" depends="A"/>[[BR]]
          <target name="C" depends="B"/>[[BR]]
          <target name="D" depends="C,B,A"/>[[BR]]
  • C++스터디_2005여름/학점계산프로그램/정수민 . . . . 6 matches
         #endif
         #endif
          cout << "학번 : " << school_number << " 평점 : " << average << endl;
          cout<<average1<<endl;
          cout<<(int)str1[0]<<endl<<(int)str1[1]<<endl<<(int)str1[2];
  • CPPStudy_2005_1/STL성적처리_3 . . . . 6 matches
          sort(ztable.begin(),ztable.end(),zcompare);
          cout << "이름\t국어\t영어\t수학\t과학\t총점\t평균" << endl;
          for(vector<student_type>::iterator i=ztable.begin();i<ztable.end();++i)
          i->avg <<endl;
          for(vector<student_type>::iterator i=ztable.begin() ;i<ztable.end();++i)
          i->total = accumulate(i->score.begin()+i->score.size()-4,i->score.end(),0);
  • ClassifyByAnagram/김재우 . . . . 6 matches
          self.dictionary.setdefault( self.sortChar( word ) ,[]).append( word )
          Assertion.AssertEquals( "-abc add abc-cba append abc", anagram.GetLog() );
          Assertion.AssertEquals( "-abc add abc-cba append abc-aa add aa", anagram.GetLog() );
          m_log.Write( "-" + word + " append " + sortedWord );
         public class AnagramTest extends TestCase {
          strBuf.append( s );
  • CollectionParameter . . . . 6 matches
          for(vector<People>::iterator it = result.begin() ; it != result.end() ; ++it)
          for(vector<People>::iterator it = result.begin() ; it != result.end() ; ++it)
          for(vector<People>::iterator it = result.begin() ; it != result.end() ; ++it)
          for(vector<People>::iterator it = result.begin() ; it != result.end() ; ++it)
          for(vector<People>::iterator it = result.begin() ; it != result.end() ; ++it)
          for(vector<People>::iterator it = result.begin() ; it != result.end() ; ++it)
  • CrackingProgram . . . . 6 matches
          cout << "correct passwd" << endl;
          cout << "wrong passwd" << endl;
         10: cout << "correct passwd" << endl;
         00401390 push offset @ILT+120(std::endl) (0040107d)
         12: cout << "wrong passwd" << endl;
         004013B0 push offset @ILT+120(std::endl) (0040107d)
  • CubicSpline/1002/NaCurves.py . . . . 6 matches
         def givenFunction(x):
         class NormalFunction:
          return givenFunction(x)
          self.normalFunc = NormalFunction()
          self.normalFunc = NormalFunction()
          self.normalFunc = NormalFunction()
          controlPointListY.append(givenFunction(x))
          def _basedFunction(self, x, i):
          bf *= self._subBasedFunction(x, i, j)
          def _subBasedFunction(self, x, i, j):
          lg += self._basedFunction(x, i) * self._getY(i)
          return self.controlPointListX[self.getFirstPiecePoint(i) : self.getEndPiecePoint(i)]
          def getEndPiecePoint(self, i):
          cplY.append (givenFunction(x))
          matrixB.append([6 * ( self.deltaY(i)/self.deltaX(i) - self.deltaY(i-1)/self.deltaX(i-1) )])
          tempY.append([0.0])
          row.append(0.0)
          matrix.append(row)
  • EuclidProblem/Leonardong . . . . 6 matches
         /* cout << gcd( 10, 5 ) << endl
         << gcd( 11, 7 ) << endl
         << gcd( 12, 8 ) << endl
         << gcd( 13, 13) << endl
         << gcd( 11111111, 12938 ) << endl;
          cout << xResult << " " << yResult << " " << gcd(A,B) << endl;
  • HanoiProblem/영동 . . . . 6 matches
         main endp
          jz endmove ;Move 프로시저의 끝으로 감
          endmove:
         Move endp
         Space endp
         end main ;프로그램 종료
  • HardcoreCppStudy/첫숙제/ValueVsReference/변준원 . . . . 6 matches
          cout << "밑수("<< base <<")" << "지수("<< exponent <<")" << "결과 :"<< result << endl;
         을 의미하고 power은 함수명을 의미하며 double base, int exponent은 매개변수를 의미한다. power()라는
         함수의 원형이 있고 함수원형을 함수의 정의와 비교해보면 함수명,반환형, 매개변수형이 똑같습니다. 만일
          cout << "a=" << a <<" " << "b=" << b << endl;
          cout << "a=" << a <<" " << "b=" << b << endl;
          cout << "a=" << a <<" " // 참조형이 실매개 변수로 초기화 << "b=" << b << endl;
  • IndexedTree/권영기 . . . . 6 matches
         void insert_item(node *current, int item, const int address, int st, int end, const int *count, const int *level){
          if(address == (st + end)/2 && current->level == *level){
          else if(address <= (st + end)/2){
          insert_item(current->left, item, address, st, (st+end)/2, count, level);
          insert_item(current->right, item, address, (st+end)/2 + 1, end, count, level);
  • IsBiggerSmarter?/문보창 . . . . 6 matches
         // cout << e[t].index << " " << e[t].weight << " " << e[t].IQ << endl;
         // end
          cout << max_count << endl;
          cout << result[i] << endl;
          cout << len << endl;
          cout << result[i] << endl;
  • JSP/SearchAgency . . . . 6 matches
          class OneNormsReader extends FilterIndexReader {
          Date end = new Date();
          out.println("Time: "+(end.getTime()-start.getTime())+"ms");
          int end = Math.min(hits.length(), start + HITS_PER_PAGE);
          for (int i = start; i < end; i++) {
          if (hits.length() > end) {
  • JavaScript/2011년스터디/JSON-js분석 . . . . 6 matches
         if (typeof Date.prototype.toJSON !== 'function') {
          Date.prototype.toJSON = function (key) {
          Boolean.prototype.toJSON = function (key) { // 왜 key를 넣는거지!!
          Boolean.prototype.toJSON = function (key) {
          * str function에서 'string', 'number', 'boolean', 'null' 은 모두 string로 변환한다. 그런데 'object'의 NULL은 뭐지??
          * line 177 : Date.prototype.toJSON = function (key) 에서 key는 왜 넘겨주는가?
  • JavaScript/2011년스터디/윤종하 . . . . 6 matches
          function fac(n){
          function combi(n,k){
         <head><title>Anonymous Function Test</title></head>
          // Use a self-executed anonymous function to induce scope
          (function(){
          // Bind a function to the elment
          obj[ "on" + item ] = function() {
         Anonymous Function에 대한 예제를 구해왔는데요.
  • LC-Display/곽세환 . . . . 6 matches
          cout << endl;
          cout << endl;
          cout << endl;
          cout << endl;
          cout << endl << endl;
  • LCD Display/Celfin . . . . 6 matches
          cout << endl;
          cout <<endl;
          cout << endl;
          cout <<endl;
          cout << endl << endl;
  • LIB_2 . . . . 6 matches
          for ( int i = 0 ; i < suspend_tcb_ptr + 1; i++ ){
          pSuspend_heap[i]->delay--;
          if ( High_Task->priority < pSuspend_heap[i]->priority && pSuspend_heap[i]->delay < 0 ) {
          pSuspend_heap[i]->delay = 0;
          LIB_resume_task(pSuspend_heap[i]->priority);
  • LinkedList/영동 . . . . 6 matches
         int enterData(); //Function which enter the data of node
         void displayList(Node * argNode); //Function which displays the elements of linked list
         Node * allocateNewNode(Node * argNode, int argData);//Function which allocate new node in memory
         int enterData(); //Function which enter the data of node
         void displayList(Node * argNode); //Function which displays the elements of linked list
         Node * allocateNewNode(Node * argNode, int argData, int * argNumberOfElements);//Function which allocates new node in memory
         Node * reverseList(Node * argNode);//Function which reverses the sequence of the list
         void eraseLastNode(Node * argNode, Node ** argFreeNode, int * argNumberOfList, int * argNumberOfFreeSpace);//Function which deletes the last node of the list
         void getNode(Node * argNode, Node ** argFreeNode, int * argNumberOfList, int * argNumberOfFreeSpace);//Function which takes the node from free space list
         void returnNode(Node * argNode, Node ** argFreeNode, int * argNumberOfList, int * argNumberOfFreeSpace);//Function which return a node of linked list to free space list
          cout<<"Out of maximum size of memory! Your input will be cancelled."<<endl;
          cout<<"An error occurs in erasing process."<<endl;
          cout<<"An error occurs in getting process."<<endl;
          cout<<"Input the data value of node that you want to return to the free space list."<<endl;
          cout<<"You want to return node with "<<returnData<<endl;
          cout<<"An error occurs in returning process."<<endl;
  • MedusaCppStudy/재동 . . . . 6 matches
          cout << "You must correct roach position!" << endl;
          cout << "count of roach: " << roach.count << endl;
          cout << endl;
          sort(words.begin(), words.end(), compare);
          cout << words[i].name << "\t" << words[i].count << endl;
          cout << "total words: " << words.size() << endl;
  • MobileJavaStudy/SnakeBite/FinalSource . . . . 6 matches
         class SplashCanvas extends Canvas {
         class SnakeBiteCanvas extends Canvas implements Runnable {
         public class SnakeBite extends MIDlet implements CommandListener {
         class StartCanvas extends Canvas {
         class BoardCanvas extends Canvas implements Runnable {
         public class SnakeBite extends MIDlet implements CommandListener {
  • NamedPipe . . . . 6 matches
          // the function returns a nonzero value. If the function returns // 접속이 될 경우 0 아닌 값이 리턴 되며
          0, // not suspended
         // Send a message to the pipe server.
         == 4. function ==
         || {{{~cpp TransactNamedPipe}}} || Single Operation으로 Read & Write를 할 수 있는 function 이다.||
  • ProjectPrometheus/Iteration2 . . . . 6 matches
         ||||||Story Name : Recommendation System(RS) Study (Prototype)||
         ||||||Acceptance Test (["ProjectPrometheus/AT_RecommendationPrototype"]) ||
         || {{{~cpp RecommendationBookTest}}}|| 가중치 순서대로 책 리스트 보여주기 테스트 || ○ ||
         || {{{~cpp RecommendationBookListBig}}}|| 가중치 순서대로 책 리스트 보여주기 테스트. More || ○ ||
         || {{{~cpp RecommendationBookListLimitScore}}}|| 특정 가중치 점수 이하대의 책 리스트는 보여주지 않기 테스트. || ○ ||
         || {{{~cpp RecommendationBookListLimitScoreMore}}} || 특정 가중치 점수 이하대의 책 리스트는 보여주지 않기 테스트. More || ○ ||
  • RandomWalk/김아영 . . . . 6 matches
          int x, y, arsize, end=1;
          end++;
          }while(end<arsize*arsize);
          cout << endl;
          cout << endl << "총 이동 횟수는 " << total << "입니다." << endl ;
  • RandomWalk/신진영 . . . . 6 matches
          cout << "다.\n이 정도 쯤이야! 풉!" << endl;
          cout << "다...\n점점 압박이..." << endl;
          cout << "네....;;\n숨이 가빠오는군...;" << endl;
          cout << "구운.......;;\n언제 쯤 끝나려나...?" << endl;
          cout << "... 헥헥..;;;\n히, 힘들다... ;□;" << endl;
          cout << "슈~~\n꽤애애애액~~~~!! =□=;;;" << endl;
  • RandomWalk/영동 . . . . 6 matches
          cout<<"Random Walk"<<endl;
          cout<<"숫자를 입력하시오: "<<endl;
         void increaseEndCount(int & a_count, Bug & a_bug, int a_board[][MAX_X]);
         bool isEnd(int a_count);
          increaseEndCount(count, bug, board);
          }while(isEnd(count));
          cout<<endl;
          cout<<endl;
         void increaseEndCount(int & a_count, Bug & a_bug, int a_board[][MAX_X])
         bool isEnd(int a_count)
          void increaseEndCount(int a_x, int a_y);
          bool isEnd(int a_count);
          cout<<endl;
         void Board::increaseEndCount(int a_x, int a_y)
          cout<<"바퀴벌레의 초기 위치를 입력하세요. <x, y>"<<endl;
         bool Bug::isEnd(int a_count)
          board.increaseEndCount(bug.returnX(), bug.returnY());
          }while(bug.isEnd(board.returnCount()));
  • RandomWalk/유상욱 . . . . 6 matches
          cout << random << endl;
          cout << "위" << endl;
          cout << "아래" << endl;
          cout << "좌" << endl;
          cout << "우" << endl;
          cout << endl;
  • RandomWalk/종찬 . . . . 6 matches
          int end=0;
          while(end == 0) {
          end=1;
          end=0;
          cout << endl;
          cout << "합 : " << sum << endl;
  • Self-describingSequence/1002 . . . . 6 matches
          end = start + repeat - 1
          table.append((start,end))
          end = start + repeat - 1
          table.append((start,end))
  • Temp/Parser . . . . 6 matches
         #VendingMachineParser.py
         class VendingCmd:
          self.err('Unexpected end of file')
          if money: return VendingCmd('put',arg=money)
          if button: return VendingCmd('push',arg=button)
          cmds.append(cmd)
  • UglyNumbers/송지훈 . . . . 6 matches
         using std::endl;
          clock_t start,end; // 수행시간 구할 때 쓰려고 넣은 변수.
          end = clock(); // 끝난 시간.
          cout << "Run time = " << (double)(end-start)/CLK_TCK << endl
          << arr[target-1] << endl;
  • WikiSlide . . . . 6 matches
         To edit a page, just click on [[Icon(edit)]] or on the link "`EditText`" at the end of the page. A form will appear enabling you to change text and save it again. A backup copy of the previous page's content is made each time.
         You can check the appearance of the page without saving it by using the preview function - ''without'' creating an entry on RecentChanges; additionally there will be an intermediate save of the page content, if you have created a homepage ([[Icon(home)]] is visible).
         ||<rowbgcolor="#DEDEDE">'''Home:''' `CTRL+Home`||'''End:''' `CTRL+End`||
          (!) A common error is to insert an additional blank after the ending equal signs!
          * The parameters are optional, depending on the macro.
          * Personal Homepages: normally only changed by their owner, but you may append messages at the end of the page
  • radiohead4us/PenpalInfo . . . . 6 matches
         Gender: Female
         Comments: Hi All! Writing letters is my greatest hobby and i am still looking for some pals around my age. If you´re interested in writing snail mail to me, please send me an e-mail. Thanks! I promise, I will answer all.
         Gender: Female
         Comments: I'm looking for friends all over the world(^0^)/
         Gender: Female
         Comments: Hi~ I'm preety girl.*^^* I'm not speak english well. But i'm want good friend and study english.
  • whiteblue/NumberBaseballGame . . . . 6 matches
          cout << "야구 게임입니다." << endl;
          cout << "\t" << random_input[0] << random_input[1] << random_input[2] << endl;
          cout << "다시 입력하십시오." << endl;
          cout << strike << " strike, " << ball << "ball 입니다." << endl;
          cout << "축하합니다. 맞추셨습니다." << endl;
          cout << "게임 오버입니다." << endl;
  • whiteblue/간단한계산기 . . . . 6 matches
         public class MyCalculator extends JFrame {
          c.gridwidth = GridBagConstraints.REMAINDER; //end row
          c.gridwidth = GridBagConstraints.LAST_LINE_END;
          c.gridwidth = GridBagConstraints.REMAINDER; //end row
          c.gridwidth = GridBagConstraints.LAST_LINE_END;
          c.gridwidth = GridBagConstraints.REMAINDER; //end row
          c.gridwidth = GridBagConstraints.LAST_LINE_END;
          c.gridwidth = GridBagConstraints.REMAINDER; //end row
          c.gridwidth = GridBagConstraints.LAST_LINE_END;
          c.gridwidth = GridBagConstraints.REMAINDER; //end row
  • whiteblue/파일읽어오기 . . . . 6 matches
          UserInfo * pLendPeople;
          void lendBook(UserInfo * pUi) { pLendPeople = pUi; bLone = true; }
          // end
          // end
          // end
  • zennith/dummyfile . . . . 6 matches
          time_t start, end;
          end = clock();
          printf("\n%f\n", (double)(end - start) / CLK_TCK);
          time_t start, end;
          end = clock();
          printf("\n%f\n", (double)(end - start) / CLK_TCK);
  • 가위바위보/성재 . . . . 6 matches
          cout << "이선호의 이긴 수는 " << win <<"번이고," <<endl
          <<"진 횟수는 "<< lose <<"번이고,"<< endl
          <<"비긴횟수는 "<< moo <<"입니다."<<endl;
          cout << "\n\n"<<"강인수의 이긴 수는 " << lose <<"번이고," <<endl
          <<"진 횟수는 "<< win <<"번이고,"<< endl
          <<"비긴횟수는 "<< moo <<"입니다."<<endl;
  • 가위바위보/영동 . . . . 6 matches
          cout<<"sunho의 승수: "<<sunho_win<<endl;
          cout<<"비긴 수: "<<sunho_draw<<endl;
          cout<<"sunho의 패수: "<<sunho_lose<<endl;
          cout<<"insu의 승수: "<<sunho_lose<<endl;
          cout<<"비긴 수: "<<sunho_draw<<endl;
          cout<<"insu의 패수: "<<sunho_win<<endl;
  • 개인키,공개키/김태훈,황재선 . . . . 6 matches
          cout << endl;
          cout << endl;
          fout << endl;
          cout << "복호값 : " << endl;
          cout << endl;
          cout << endl;
  • 개인키,공개키/김회영,권정욱 . . . . 6 matches
          cout << endl;
          fout << endl;
          cout << endl;
          fout << endl;
          cout << endl;
          ffout << endl;
  • 김신애/for문예제1 . . . . 6 matches
          cout<< i << "\t" <<11-i<<endl;
          cout << b <<"*"<<a<<"="<<a*b<<endl;
          cout << b <<"*"<<a<<"="<<a*b<<endl;
          cout << array[i] << endl;
          cout << array[i] << endl;
          cout << c << endl;
  • 김희성/리눅스멀티채팅 . . . . 6 matches
          send(client_socket, buff_snd, strlen(buff_snd)+1,0);
          send(client_socket_array[i],buff_snd,strlen(buff_snd)+1,0);
          printf("write message to send : ");
          printf("write message to send : ");
          if(send(client_socket, buff_snd, strlen(buff_snd)+1,0)<=0)
          send(client_socket, buff_snd, strlen(buff_snd)+1,0);
  • 데블스캠프2004/금요일 . . . . 6 matches
         public class FirstJava extends JFrame{
          * g.drawLine(int startX, int startY, int endX, int endY) 메소드
         public class FirstJava extends JFrame{
         public class FirstJava extends JFrame{
         public class FirstJava extends JFrame{
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission3/김수경 . . . . 6 matches
          private void startBtn_Click(object sender, EventArgs e)
          private void timer1_Tick(object sender, EventArgs e)
          private void stopBtn_Click(object sender, EventArgs e)
          private void recordBtn_Click(object sender, EventArgs e)
          this.SuspendLayout();
          #endregion
  • 만년달력/강희경,Leonardong . . . . 6 matches
          cout << "잘못 입력하셨습니다." << endl;
          cout << "====================================================" << endl
          << "일\t월\t화\t수\t목\t금\t토" << endl;
          cout << endl; //다음줄로 가고
          cout << endl << "====================================================" << endl;
  • 만년달력/곽세환,조재화 . . . . 6 matches
          cout<<"일"<<"\t"<<"월"<<"\t"<<"화"<<"\t"<<"수"<<"\t"<<"목"<<"\t"<<"금"<<"\t"<<"토"<<endl;
          cout << endl;
          cout<<endl;
          cout<<"일"<<"\t"<<"월"<<"\t"<<"화"<<"\t"<<"수"<<"\t"<<"목"<<"\t"<<"금"<<"\t"<<"토"<<endl;
          cout << endl;
          cout<<endl;
  • 비밀키/최원서 . . . . 6 matches
          cout << endl;
          fout << endl;
          cout << endl;
          cout << endl;
          fout << endl;
          cout << endl;
  • 새싹교실/2012/주먹밥 . . . . 6 matches
          * 예약어 -> 예약어는 C의 시스템에서 미리 선점해놓은 단어를 의미합니다. 이것을 변수명이나 함수명으로 쓰면 안됩니다.
          printf("식품명(end를 입력하면 계산합니다.) : ");
          if(strcmp(name, "end") == 0)
         function key(){
         function key(){
          * 함수포인터 질문 : int *compare(int a, int b), function call에 의한 stack(FILO : first in last out)의 내부 변화. int형 포인터는 int형으로 반환해야지?
  • 성적처리프로그램 . . . . 6 matches
          cout << endl;
          cout << "A : " << num[0] << endl;
          cout << "B : " << num[1] << endl;
          cout << "C : " << num[2] << endl;
          cout << "D : " << num[3] << endl;
          cout << "F : " << num[4] << endl;
  • 오목/휘동, 희경 . . . . 6 matches
         #endif // _MSC_VER > 1000
          // ClassWizard generated virtual function overrides
          virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
         #endif
         // Generated message map functions
         #endif
         #endif // !defined(AFX_GRIMVIEW_H__A8571F68_AE69_11D7_A974_0001029897CD__INCLUDED_)
  • 이영호/My라이브러리 . . . . 6 matches
         // send 함수 시 인자 4개가 필요하기 때문에 2개로 줄인 함수다. 단, ascii문자만 전달 된다. recv 함수는 만들 필요가 없다.
         int send_msg(int sockfd, const *msg);
         #endif
         #endif
         int send_msg(int sockfd, const *msg)
          send(sockfd, msg, strlen(msg), 0);
  • 허아영/Cpp연습 . . . . 6 matches
          cout<<"int = "<<sizeof(int)<<"byte"<<endl;
          cout<<"short int = "<<sizeof(short)<<"byte"<<endl;
          cout<<"long int = "<< sizeof(long)<<"byte"<<endl;
          cout<<"float = "<<sizeof(float)<<"byte"<<endl;
          cout<<"double = "<<sizeof(double)<<"byte"<<endl;
          cout << "평균 : " << avg(subject_data) << endl;
  • 2002년도ACM문제샘플풀이/문제D . . . . 5 matches
         #include <functional>
          cout << outputData[i] << endl;
          sort(weights.begin(), weights.end());
          float total = accumulate(weights.begin(), weights.end(), 0) / 2;
          float total = accumulate(weights.begin(), weights.end(), 0) / 2;
  • 2010JavaScript/강소현/연습 . . . . 5 matches
         function checkContent()
         function displaymessage()
         function writeText(txt)
         function timedCount()
         function writeText(txt)
  • ACE/CallbackExample . . . . 5 matches
          cerr << "Log Message Received: " << endl;
          << endl;
          cerr << "\tlength: " << log_record.length() << endl;
          cerr << "\tPid: " << log_record.pid() << endl;
          cerr << "\tMsgData: " << data.c_str() << endl;
  • AcceleratedC++/Chapter2 . . . . 5 matches
         using std::endl;
          // build the message that we intend to write
          cout << endl;
          cout << endl;
          std::cout << std::endl;
  • AustralianVoting/곽세환 . . . . 5 matches
          cout << endl;*/
          cout << endl;*/
          cout << candidates[winner] << endl;
          cout << candidates[i] << endl;
          cout << endl;
  • Basic알고리즘/팰린드롬/허아영 . . . . 5 matches
          cout << "->true" << endl;
          cout << "->false" << endl;
          cout << "->true" << endl;
          cout << "->true" << endl;
          cout << "->false" << endl;
  • Benghun/Diary . . . . 5 matches
         최근 모듈화에 대해서 공부하다가 dependency에 대해서 생각해 보았다. 무엇을 만들었을 때 dependency가 발생하는가? 함수나 클래스를 사용할 때 발생하더라. 클라이언트 코드는 사용하는 함수나 클래스가 변경될 때 영향을 받을지도 모른다. 그렇다면 dependency를 최소화하는(또는 없애는) 방법은 함수 나 클래스를 사용하지 않으면 된단 말인가? 코드 중복은 어떻게 없앨 수 있더라?
         아는 사람 중에 함수나 클래스를 만드는 것을 대단히 꺼리는 사람이 있다. 만들면 좋을 것 같은 간단한 함수조차도 직접 만들려고 하지 않는다. 하지만 이미 잘 만들어 진 라이브러리는 자주 사용한다. dependency가 없다면 변경에 영향을 받는 모듈이 없을 것이다. 나름대로 잘 사용하는 replace all in files, replace all in file, copy & paste등이 강력한 프로그래밍 도구중 하나인 것 같기도 하다.(최소한 나보다는 잘 사용하는 것 같다, 나름대로의 노하우도 있는 것 같다) 아마도 그는 dependency를 최소화하는 것에 큰 관심이 있거나 다른 이유가 있나보다.
  • C++스터디_2005여름/학점계산프로그램/허아영 . . . . 5 matches
         #endif
          cout << "학고 명단" << endl;
          cout << name[i] << endl;
          cout << "장학생 명단" << endl;
          cout << endl;
  • ClassifyByAnagram/상규 . . . . 5 matches
          sort(key.begin(), key.end());
          if(Anagrams.find(key) == Anagrams.end())
          copy(Anagram.begin(), Anagram.end(), os_iter);
          for(iter = Anagrams.begin() ; iter != Anagrams.end() ; iter++)
          cout << endl;
  • ClassifyByAnagram/인수 . . . . 5 matches
          for(MSMCII i = _anagramTable.begin() ; i != _anagramTable.end() ; )
          cout << endl;
          for(MALSI i = _anagramTable.begin() ; i != _anagramTable.end() ; ++i)
          for(LSI j = (i->second).begin() ; j != (i->second).end(); ++j)
          cout << endl;
  • CodeRace/20060105/도현승한 . . . . 5 matches
          cout << aVec[i] << endl;
          for(vector<string>::iterator iter = aVec.begin(); iter!=aVec.end(); iter++)
          cout << aVec[i].word << " " << aVec[i].count << endl;
          for(vector<string>::iterator iter = aVec.begin(); iter!=aVec.end(); iter++)
          sort(aVec2.begin(), aVec2.end(), CompareObj); // 오름차순
  • DirectDraw/Example . . . . 5 matches
         // Foward declarations of functions included in this code module:
         // FUNCTION: MyRegisterClass()
         // This function and its usage is only necessary if you want this code
         // function that was added to Windows 95. It is important to call this function
         // FUNCTION: InitInstance(HANDLE, int)
         // In this function, we save the instance handle in a global variable and
         // FUNCTION: WndProc(HWND, unsigned, WORD, LONG)
          disp->CreateFullScreenDisplay(hWnd, 640, 480, 16);
          EndDialog(hDlg, LOWORD(wParam));
  • DispatchedInterpretation . . . . 5 matches
         또한, commantAt이나 argumentAt같은 메세지 말고, sendCommand(at,to) 같은 메세지를 제공하자. 위의 line,curve도 이꼴이므로 같이 다룰수 있다.
          aShape.sendCommand(i,this);
         void Shape::sendCommandTo(Object& anObject)
          sendCommand(i,object);
          aShape.sendCommandTo(this);
  • Gof/Mediator . . . . 5 matches
         대게 다이얼로그의 도구들 사이에는 어떤 dependency들이 존재한다. 예를 들면, 어떤 버튼은 어떤 입력 필드가 비어있을때는 비활성화 되어있는다. list box라 불리는 선택 목록에서 객체를 선택하는 것은 입력필드의 내용을 바꿀 것이다. 바꿔말하면, 입력필드에 문자를 타이핑하는 것은 자동적으로 리스트 박스에서 하나이상의 대응대는 입력을 선택하는 것이다. 한번 텍스트가 입력 필드에 나타나면, 다른 버튼들은 아마 활성화 될것이다. 그래서 사용자가 텍스트로 어떤 일을 하게 하게할 것이다. 예를 들자면, 관련있는 것을 삭제하거나 변경하거나 하는 따위의 일을 할 수 있을 것이다.
         다른 다이얼로그 박스들은 도구들 사이에서 다른 dependency들을 지닐 것이다. 그래서 심지어 다이얼로그들이 똑같은 종류의 도구들을 지닌다 하더라도, 단순히 이전의 도구 클래스들을 재사용 할 수는 없다. dialog-specific dependency들을 반영하기 위해서 customize되어져야 한다. subclassing에 의해서 개별적으로 도구들을 Customize하는 것은 지루할 것이다. 왜냐하면 많은 클래스들이 그렇게 되어야 하기 때문이다.
         또 다른 방법은 colleague들이 보다 더 직접으로 communication할 수 있도록 특별한 interface를 mediator에게 심는 것이다. 윈도우용 Smalltalk/V가 대표적인 형태이다. mediator와 통신을 하고자 할 때, 자신을 argument로 넘겨서 mediator가 sender가 누구인지 식별하게 한다. Sample Code는 이와 같은 방법을 사용하고 있고, Smalltalk/V의 구현은 Known Uses에서 다루기로 하겠다.
         MediatorPattern의 또다른 application은 coordinating complex updates에 있다. 하나의 예는 Observer로서 언급되어지는 ChangeManager class이다. ChangeManager는 중복 update를 피하기 위해서 subjects과 observers중간에 위치한다. 객체가 변할때, ChangeManager에게 알린다. 그래서 ChangeManager는 객체의 dependecy를 알리는 것으로 update를 조정한다.
  • HardcoreCppStudy/첫숙제/Overloading/임민수 . . . . 5 matches
          cout << endl;
          cout << endl ;
          cout << endl << "총 이동 횟수는 " << cnt << "입니다. ";
          cout << endl ;
          cout << endl << "총 이동 횟수는 " << cnt << "입니다. ";
  • HighResolutionTimer . . . . 5 matches
         If a high-resolution performance counter exists on the system, the QueryPerformanceFrequency function can be used to express the frequency, in counts per second. The value of the count is processor dependent. On some processors, for example, the count might be the cycle rate of the processor clock.
         The '''QueryPerformanceCounter''' function retrieves the current value of the high-resolution performance counter (if one exists on the system). By calling this function at the beginning and end of a section of code, an application essentially uses the counter as a high-resolution timer. For example, suppose that '''QueryPerformanceFrequency''' indicates that the frequency of the high-resolution performance counter is 50,000 counts per second. If the application calls '''QueryPerformanceCounter''' immediately before and immediately after the section of code to be timed, the counter values might be 1500 counts and 3500 counts, respectively. These values would indicate that .04 seconds (2000 counts) elapsed while the code executed.
  • JollyJumpers/오승균 . . . . 5 matches
          cout << "입력된 숫자가 없습니다. 프로그램을 종료합니다." << endl;
          cout << "*** Not Jolly ***" << endl;
          cout << "*** Jolly ***" << endl;
          cout << "<Numbers Inputed>" << endl;
          cout << endl;
  • LC-Display/상협재동 . . . . 5 matches
          cout << endl;
          cout << endl;
          cout << endl;
          cout << endl;
          cout << endl;
  • MedusaCppStudy . . . . 5 matches
         using std::endl;
          cout << endl;
         자판기(Vending Machine)
         Vending machine 다 짜긴 짰는데 또 형이 짠거랑 비슷하게 됐네여..이놈의 기억력이란..ㅎㅎ
         총 159라인이고 choose함수가 30라인이 넘어서 어거지로 vend함수를 만들었구여..-_-;;
  • Memo . . . . 5 matches
          self.conn.send("I'm the Boss")
          ClientList.append(connManager)
          if( send(server_sock, msg, sizeof(msg), 0) == -1 )
          fprintf(stderr, "send error");
          self.companies.append( anObserverCompany )
  • MineSweeper/이승한 . . . . 5 matches
         function set_val() {
          trace("end set all value");
         function setMine(){
         function showMineMap(){
         function checkMineMap(){
  • MobileJavaStudy/NineNine . . . . 5 matches
         public class NineNine extends MIDlet implements CommandListener{
          form.append(str);
         public class NineNine extends MIDlet implements CommandListener {
          nineDanList.append(String.valueOf(i) + " dan", null);
          danForm.append(String.valueOf(dan) + " * " + String.valueOf(i)
  • MobileJavaStudy/SnakeBite/Spec2Source . . . . 5 matches
         class SnakeBiteCanvas extends Canvas {
         public class SnakeBite extends MIDlet implements CommandListener {
         class StartCanvas extends Canvas {
         class BoardCanvas extends Canvas {
         public class SnakeBite extends MIDlet implements CommandListener {
  • MobileJavaStudy/SnakeBite/Spec3Source . . . . 5 matches
         class SnakeBiteCanvas extends Canvas implements Runnable {
         public class SnakeBite extends MIDlet implements CommandListener {
         class StartCanvas extends Canvas {
         class BoardCanvas extends Canvas implements Runnable {
         public class SnakeBite extends MIDlet implements CommandListener {
  • MoniCalendar . . . . 5 matches
         [[MoniCalendar(column,oneweek,공휴일,시간표)]]
         [[MoniCalendar(oneweek)]]
         [[MoniCalendar(공휴일,시간표)]]
         http://chemie.skku.ac.kr/wiki/monket-calendar/monket-cal/ 테스트
          이것의 비밀은 http://chemie.skku.ac.kr/wiki/monket-calendar/monket-cal/t.html 걍 테이블로 했군요...
  • OperatingSystemClass/Exam2002_1 . . . . 5 matches
         7. 유한 용량 Message Passing 을 위한 send() 메소드와 receive() 메소들을 완성하시오. send() 메소드는 queue의 공간이 있을때까지 block 하며, 반대로 receive() 메소드는 avariable message가 있을때까지 block해야 한다.
         public class MessageQueueBounded extends MessageQueue
          * This implements a blocking send
         public void send(Object o) {
  • PNGFileFormat/FormatUnitTestInPythonLanguage . . . . 5 matches
          self.assertEqual('IEND', chunkInfo[1])
          rgbmap.append(scanline)
          scanline.append(RGB(rgbs[0], rgbs[1], rgbs[2]) )
          scanline.append(RGB(rgbs[0], rgbs[1], rgbs[2]) )
          scanline.append(RGB(rgbs[0], rgbs[1], rgbs[2]) )
          scanline.append(RGB(rgbs[0], rgbs[1], rgbs[2]) )
  • ProgrammingLanguageClass/2006/EndTermExamination . . . . 5 matches
         3. operator 우선순위에 의거한 functional side effects문제
         a) functional side effects의 정의를 쓰시오.
         // 시험 끝난 결과 연산자 우선 순위상 ()의 평가가 먼저인지 function evaluation 이 먼저인지 때문에 헷갈려 했음
         // C 에서 돌려본 결과 function evaluation 이 먼저되며, 이는 조건상 left-to-right 로 연관지어서 답을 적을 수 있을듯함.
         end loop
  • ProgrammingLanguageClass/Report2002_2 . . . . 5 matches
          1. To check the evaluation order of operands in the Compilers by raising the functional side-effects if possible;
          * 만약 가능하다면 functional side-effects가 발생이 컴파일러에서 operand의 순서에 대한 평가 점검한다. -수정 필요
         The output should be a sequence of test programs with the results generated from them. Your grade will be highly dependent on the quality of your test programs.
         Be sure to design carefully your test data set to exercise your program completely. You are also recommended in your documentation to include the rationale behind your test programs.
         In order words, explain why you design them in such a way and what you intend to demonstrate
  • ProgrammingPearls/Column3 . . . . 5 matches
         We'll send a Computer to you.
          cout << "Hello, " << name << ".\nWe'll send a " << good << " to you. \nAddress : "
          << city << ", " << dong << endl;
          string scheme = "Hello, $0. \nWe'll send a $1 to you. \nAddress : $2, $3\n";
          cout << "scheme error." << endl;
  • PythonThreadProgramming . . . . 5 matches
         def myfunction(string,sleeptime,*args):
          thread.start_new_thread(myfunction,("Thread No:1",2))
         def myfunction(string,sleeptime,lock,*args):
          thread.start_new_thread(myfunction,("Thread No:1",2,lock))
          thread.start_new_thread(myfunction,("Thread No:2",2,lock))
  • RSSAndAtomCompared . . . . 5 matches
         The RSS 2.0 specification is copyrighted by Harvard University and is frozen. No significant changes can be made and it is intended that future work be done under a different name; Atom is one example of such work.
         See the Extensibility section below for how each can be extended without changing the specifications themselves.
         Atom 1.0 is in [http://www.w3.org/2005/Atom an XML namespace] and may contain elements or attributes from other XML namespaces. There are specific guidelines on how to interpret extension elements. Additionally, there will be an IANA managed directory rel= values for <link>. Finally, Atom 1.0 provides recommended extension points and guidance on how to interpret simple extensions.
         ||image||logo||Atom recommends 2:1 aspect ratio||
         ||description||summary and/or content||depending on whether full content is provided||
  • RandomWalk/ExtremeSlayer . . . . 5 matches
         #endif
          cout << endl;
          cout << "현재 행 : " << _nCurRow << endl;
          cout << "현재 열 : " << _nCurCol << endl;
          cout << "총 이동량 : " << _nTotalMovement << endl;
  • RandomWalk/문원명 . . . . 5 matches
         int end(int aBoard[][5]);
          answer = end(board);
         int end(int aBoard[][5])
          cout << endl;
          cout << endl;
  • SpiralArray/영동 . . . . 5 matches
         bool isEnd(int endCount);//루프 끝날지 검사
          }while(isEnd(countMove));//종료조건
         bool isEnd(int endCount)
          if(endCount<MAX_X*MAX_Y)
          cout<<"시작 점의 x좌표는?"<<endl;
          cout<<"시작 점의 y좌표는?"<<endl;
  • SpiralArray/임인택 . . . . 5 matches
          rotList.append(row)
          rotList.append(col)
          rotList.append(row)
          rotList.append(row)
          rotList.append(col-1) # 제일 첫줄을 (루프전에 )이미 리스트에 넣었기 때문에 1을 빼야 함
  • Star/조현태 . . . . 5 matches
          for (map<SavePoint, int>::iterator i = points.begin(); i != points.end(); ++i)
         const int END_POINT_Y[4] = {6, 6, 7, 8};
          while (j < END_POINT_Y[i - 2])
          if (points.end() == points.find(SavePoint(x, y, z)))
          if (!(4 <= i && j == END_POINT_Y[i - 2] - 1))
          if (points.end() == points.find(SavePoint(x, y, z)))
          cout << GetMinimum() << " " << GetMaximum() << endl;
          cout << "NO SOLUTION" << endl;
  • SummationOfFourPrimes/곽세환 . . . . 5 matches
          cout << "Impossible." << endl;
          cout << primes[0] << " " << primes[1] << " " << primes[2] << " " << primes[3] << endl;
          //cout << i << endl;
          cout << prime[i] << " " << prime[j] << " " << prime[k] << " " << prime[l] << endl;
          cout << "Impossible" << endl;
  • TwistingTheTriad . . . . 5 matches
         One example of this deficiency surfaced in SmalltalkWorkspace widget. This was originally designed as a multiline text-editing component with additional logic to handle user interface commands such as Do-it, Show-it, Inspect-it etc. The view itself was a standard Windows text control and we just attached code to it to handle the workspace functionality. However, we soon discovered that we also wanted to have a rich text workspace widget too. Typically the implementation of this would have required the duplication of the workspace logic from the SmalltalkWorkspace component or, at least, an unwarranted refactoring session. It seemed to us that the widget framework could well do with some refactoring itself!
         In MVC, most of the application functionality must be built into a model class known as an Application Model. It is the reponsibility of the application model to be the mediator between the true domain objects and the views and their controllers. The views are responsible for displaying the domain data while the controller handle the raw usr gestures that will eventually perform action on this data. So the application model typically has method to perform menu command actions, push buttons actions and general validation on the data that it manages. Nearly all of the application logic will reside in the application model classes. However, because the application model's role is that of a go-between, it is at times necessary for it to gain access to the user interface directly but, because of the Observer relationship betweeen it and the view/controller, this sort of access is discouraged.
         For example, let's say one wants to explicitly change the colour of one or more views dependent on some conditions in the application model. The correct way to do this in MVC would be to trigger some sort of event, passing the colour along with it. Behaviour would then have to be coded in the view to "hang off" this event and to apply the colour change whenever the event was triggered. This is a rather circuitous route to achieving this simple functionality and typically it would be avoided by taking a shoutcut and using #componentAt : to look up a particular named view from the application model and to apply the colour change to the view directly. However, any direct access of a view like this breaks the MVC dictum that the model should know nothing about the views to which it is connected. If nothing else, this sort of activity surely breaks the possibility of allowing multiple views onto a model, which must be the reason behind using the Observer pattern in MVC in the first place.
         Compared with our orignnal widget framework, MVP offers a much greater separation between the visual presentation of an interface and the code required to implement the interface functionality. The latter resides in one or more presenter classes that are coded as normal using a standard class browser.
  • VimSettingForPython . . . . 5 matches
         function MyDiff()
          if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif
          if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif
         endfunction
  • WeightsAndMeasures/황재선 . . . . 5 matches
          self.dataList.append([weight, strength, strength-weight])
          self.stack.append(self.dataList[i][:])
          end = len(self.stack) - 1
          if self.stack.index(each) < end:
          each[2] -= self.stack[end][0]
  • WikiTextFormattingTestPage . . . . 5 matches
         If I don't break the phrase by inserting a <return>, '''the bold portion can start and end on different lines,''' as this does.
         I've broken the phrase across a line''' boundary by inserting a <return>. If I don't break the phrase by inserting a <return>, '''the bold portion can start and end on different lines,''' as this does.
         End of line weight test.
         If a remote reference ends in .gif, the image is inlined.
         Simply typing a link (starting with http: and ending in .gif) also works.
         + Swiki has an append here area, created by starting a line with a plus sign.
  • Yggdrasil/가속된씨플플/2장 . . . . 5 matches
         std::cout<<std::endl;
         using std::endl;
          cout<<endl;
          cout<<endl;
          * for(int i=10;i>-6;i--) std::cout<<i<<std::endl;
  • [Lovely]boy^_^/Diary/2-2-10 . . . . 5 matches
          * 오늘의 XB는 삽질이었다.--; Date클래스의 날짜, 월 등등이 0부터 시작한다는 사실을 모르고 왜 계속 테스트가 failed하는지 알수가 없었던 것이었다. 덕택에 평소엔 거들떠도 안보던 Calendar, 그레고리Date, SimpleData등등 날짜에 관련된 클래스들을 다 뒤져볼수 있었다. 하지만..--; 결국 Date클래스에서 끝났다. 이제 UI부분만 하면 될듯하다.
          * Today's XB is full of mistakes.--; Because Java Date class's member starts with 0, not 1. so our tests fail and fail and fail again.. So we search some classes that realted with date.- Calendar, GregoryDate, SimpleDate.. - but--; our solution ends at date class. Out remain task is maybe a UI.
          * Arcanoid documentation end.
          * Arcanoid presentation end.
  • [Lovely]boy^_^/Diary/2-2-15 . . . . 5 matches
          * A data communication course ended. Professor told us good sayings. I feel a lot of things about his sayings.
          * A computer architecture&organization course ended too. I am worrying about a final test.
          * A merriage and family course ended too, Professor is so funny. A final test is 50 question - O/X and objective.
          * A algorithm course ended. This course does not teaches me many things.
          * A object programming course ended. Professor told us good sayings, similar to a data communication course's professor. At first, I didn't like him, but now it's not. I like him very much. He is a good man.
  • [Lovely]boy^_^/EnglishGrammer/PresentAndPast . . . . 5 matches
          ex) I'm reading an interesting book at the moment. I'll lend it to you when I've finished it.
          ex) When temporary situations : I'm living with some friends until I find an apartment.
          understand believe remember belong contain consist depend seem
          B. Very often the simple past ends in -ed (꽤 자주 -ed로 끝난단 말입니다.)
          ex) We were good friends. We knew each other well.(not We were knowing)
  • [Lovely]boy^_^/[Lovely]boy^_^/USACO/Barn . . . . 5 matches
         #include <functional>
          sort(ret.begin(), ret.end(), greater<int>());
          ret.erase(ret.begin() + numPivot - 1, ret.end());
          sort(ar.begin(), ar.end());
          fout << getTotal(numPivot, data, pivots) << endl;
  • 논문번역/2012년스터디/김태진 . . . . 5 matches
         == 1.7 Linear Independence 선형 독립성 ==
         만약 벡터 방정식 ...가 오직 자명한 해를 가진다면 Rn에 있는 인덱싱된 벡터들의 집합을 선형적으로 독립적(linearly independent)이라고 말한다. 만약 (2)와 같은 0이 아닌 가중치가 존재한다면 그 집합은 선형 독립전이다고 한다.
          등식 (2)는 가중치가 모두 0이 아닐 때 v1...vp사이에서 linear independence relation(선형 독립 관계)라고 한다. 그 인덱싱된 집합이 선형 독립 집합이면 그 집합은 선형독립임이 필요충분 조건이다. 간단히 말하기위해, 우리는 {v1,,,vp}가 선형독립 집합을 의미할때 v1...vp가 독립이라고 말할지도 모른다. 우리는 선형 독립 집합에게 유사한 용어들을 사용한다.
         Linear Independence of Matrix Columns 행렬 행에 대한 선형 독립성
         Characterization of Linearly Dependent Sets
  • 니젤프림/BuilderPattern . . . . 5 matches
         class HawaiianPizzaBuilder extends PizzaBuilder {
         class SpicyPizzaBuilder extends PizzaBuilder {
         public class Plan extends PlanComponent {
         public class PlanItem extends PlanComponent {
         public class MyPlanner extends Planner {
  • 데블스캠프2006/월요일/연습문제/for/김준석 . . . . 5 matches
          cout << endl;
          cout << endl;
          cout << endl;
          cout << "10이하의 숫자를 입력해 주세요 " << endl;
          cout << sum << endl;
  • 데블스캠프2006/월요일/연습문제/if-else/윤성준 . . . . 5 matches
          cout << endl << "50~100 까지 숫자 입력 :";
          cout << "3의배수" <<endl;
          cout << endl;
          cout << "5의 배수" <<endl;
          cout << "잘못입력" <<endl;
  • 데블스캠프2006/월요일/연습문제/switch/윤성준 . . . . 5 matches
          cout << "A: " << a << "명" << endl;
          cout << "B: " << b << "명" << endl;
          cout << "C: " << c << "명" << endl;
          cout << "D: " << d << "명" << endl;
          cout << "F: " << f << "명" << endl;
  • 데블스캠프2006/월요일/연습문제/switch/주소영 . . . . 5 matches
          cout <<"A="<<a<<endl;
          cout <<"B="<<b<<endl;
          cout <<"C="<<c<<endl;
          cout <<"D="<<d<<endl;
          cout <<"F="<<f<<endl;
  • 데블스캠프2006/월요일/연습문제/웹서버작성/변형진 . . . . 5 matches
         if(!function_exists("mime_content_type"))
          function mime_content_type($f)
          @socket_send($client_socket, $buffer, strlen($buffer), 0);
          @socket_send($client_socket, $buffer, strlen($buffer), 0);
          @socket_send($client_socket, $buffer, strlen($buffer), 0);
  • 데블스캠프2009/금요일/연습문제/ACM2453/정종록 . . . . 5 matches
          std::cout<<"1048583"<<std::endl;
          std::cout<<"1048579"<<std::endl;
          std::cout<<"1048577"<<std::endl;
          std::cout<<"1048576"<<std::endl;
          std::cout<<r<<std::endl;
  • 데블스캠프2009/목요일/연습문제/MFC/박준호 . . . . 5 matches
         #endif
          // ClassWizard generated virtual function overrides
         END_MESSAGE_MAP()
         END_MESSAGE_MAP()
          pSysMenu->AppendMenu(MF_SEPARATOR);
          pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu);
          SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0);
  • 데블스캠프2012/넷째날/묻지마Csharp/김태진 . . . . 5 matches
          private void clicked(object sender, EventArgs e)
          private void button1_Click(object sender, EventArgs e)
          private void timer1_Tick(object sender, EventArgs e)
          private void pictureBox1_Paint(object sender, PaintEventArgs e)
          private void label4_MouseMove(object sender, MouseEventArgs e)
  • 레밍즈프로젝트/프로토타입/파일스트림 . . . . 5 matches
         || SeekToEnd || Positions the current file pointer at the end of the file. ||
         || Rename || Renames the specified file (static function). ||
         || Remove || Deletes the specified file (static function). ||
         || GetStatus || Retrieves the status of the specified file (static, virtual function). ||
         || SetStatus || Sets the status of the specified file (static, virtual function). ||
  • 렌덤워크/조재화 . . . . 5 matches
         bool is_end();
          while( is_end() )
         bool is_end() //각방을 다 방문했는지를 검사
          cout<<"Total moving Number : "<<counter<<endl;
          cout<<endl;
  • 미로찾기/영동 . . . . 5 matches
         //Function about stack
          {//Until end of file
          {//Is in the end point?
          {//Print path from start to end
          cout<<endl;
          cout<<endl;
  • 벡터/임민수 . . . . 5 matches
          sort(vector1.begin(), vector1.end(), comp_score);
          cout << vector1[i].score << endl ;
          sort(vector1.begin(), vector1.end(), comp_name);
          for(vector<student>::iterator j=vector1.begin(); j<vector1.end(); j++)
          cout << (*j).name << endl ;
  • 보드카페 관리 프로그램/강석우 . . . . 5 matches
          cout << e.what() << endl;
          <<vec[i].minute << endl;
          cout << vec[i].table << " " << bg.game << " " << "play" << endl;
          cout << vec[i].table << " buy " << bg.drink << "drink" << endl;
          << vec[i].person << "Person : " << price(vec, hour, minute, i) << "won" << endl;
  • 블로그2007 . . . . 5 matches
          * PHPEclipse ~ Zend팀이 Swing의 방향으로 Zend Studio를 내놨을때 Java 개발툴 시장을 뒤엎은 Eclipse를 위해 PHP공식 팀이 아니라 다른 개발팀이 만든 환경입니다.
          * PDT - PHP Development Tool PHP 스크립트 엔진을 개발하는 Zend 팀이 Eclipse 진영에 합류후에 PHP개발 툴을 만들기 시작했는데 아직 1.0 까지도 올라가지 않은 개발 중인 제품입니다. 좋기는 하지만, 적극적인 배포도 하지 않고 Ecilpse의 공식 배포 스케줄+환경인 Calisto에도 반영되려면 멀었습니다.
         PHP 인터프리터는 APM을 같이 생각해 설치해야 합니다. 국내에 유명한 APM패키지로는 [http://apmsetup.com/ APM Setup]이 많이 쓰입니다. 그러나 작년 말에 예정된 업그레이드 버전 이후 소식이 없습니다. (내부 사정이 있는 것 같아요.) 더 추천할 곳은 [http://www.apachefriends.org Apach Friends]라는 멋진 곳에 있는 XAMPP를 사용하세요. 천천히 RTFM해보면, 됩니다.
  • 비밀키/임영동 . . . . 5 matches
          for(string::iterator i=str.begin();i!=str.end();i++)
          cout<<str<<endl;
          for(i=str.begin();i!=str.end();i++)
          fout<<str<<endl;
          cout<<"-> "<<str<<endl;
  • 비행기게임/BasisSource . . . . 5 matches
         if not pygame.image.get_extended():
          raise SystemExit,"sorry, extended image module required"
          imgs.append(load_image(file))
          all = pygame.sprite.RenderUpdates()
         #call the "main" function if running this script
  • 빵페이지/구구단 . . . . 5 matches
          cout<<"************************* 구 구 단 ****************************"<<endl;
          cout<<endl;
          cout << endl;
          cout << endl;
          cout << endl;
  • 상협/삽질일지/2002 . . . . 5 matches
          ''근데.. Matrix 클래스가 있음에도불구하고 왜 Matrix 내의 array를 직접 접근할 일이 생긴건지? 그리고 연산자 재정의와 관련된 문제라면 Matrix 에 인자를 접근할 수 있는 메소드를 넣던지 friend 로 해결해야 하지 않을까 싶음 --["1002"]''
          * 간만에 쓴다. 삽질일지.. -_-;; 그동안 너무 놀았나.. 쩝.. 이번 삽질은 내가 처음으로 환타스탁한 소켓 플밍 연습하는데, API로 작성된 WinSock 소스 가지고 send랑 recv 가지구 놀고 있는뎅... 글자가 계속 깨져 나왔당.. 미치고 환장할일.. -_-;; 정모때 남훈이형이 어떻게 해서 되기는 되었는데 이유는 몰랐다.. 그래서 희망을 안 버리고 계속 삽질 해봤는데.. send랑 recv의 타이밍이 서버와 클라이언트가 맞지 안아서 였다.. 쩝..테스트 결과 서버가 send먼저 하고 클라이언트가 recv하면 깨져 나왔당..서버가 recv하고 클라이언트가 send하면 글씨가 안깨진다..-_-;;.. 이게 규칙인가~ 쩝.~
  • 소수구하기/상욱 . . . . 5 matches
          time_t start, end;
          cout << "2" << endl;
          end = clock();
          cout << (end - start)/CLK_TCK << endl;
  • 숫자야구/손동일 . . . . 5 matches
          cout << "세자리 숫자를 입력하세요 : " << endl;
          cout << a[0]<<a[1]<<a[2] << endl;
          cout << count2 << " ball" << endl;
          cout << "삼진 아웃!!"<<endl;
          cout << "다음 타자~!!"<< endl;
  • 스택/Leonardong . . . . 5 matches
          cout << "1 : Push \t 2 : Pop \t 3: Show" << endl;
          default : cout << "눈 똑바로......" << endl;
          cout << "입력 초과" << endl;
          cout << "자료 없음" << endl;
          cout << endl;
  • 압축알고리즘/정욱&자겸 . . . . 5 matches
          cout << count << temp << endl;
          cout << endl;
          cout << endl;
          cout << endl;
          cout << endl;
  • 여사모 . . . . 5 matches
          cout << front[2] << endl; // 세번째 배열의 값을 출력
          cout << front << endl; // 첫번째 배열의 주소값을 출력
          cout << *front << endl; // 첫번째 배열의 값을 출력
          cout << (front+4) << endl; // 다섯번째 배열의 주소값을 출력
          cout << *(front+4) << endl; // 다섯번째 배열의 값을 출력 */
  • 이영호/미니프로젝트#1 . . . . 5 matches
         Language : C & Linux System Function
          send(sockfd, msg, strlen(msg), 0);
          send(sockfd, msg, strlen(msg), 0);
          send(sockfd, msg, strlen(msg), 0);
          send(sockfd, "join #linuxn", 12, 0);
          send(sockfd, msg, strlen(msg), 0);
  • 정모/2011.4.4/CodeRace . . . . 5 matches
          cout << "레이튼의 현재 위치 " << location1 << endl;
          cout << "루크의 현재 위치 " << location2 << endl;
          cout << "나쁜 아저씨의 현재 위치 " << location3 << endl;
          cout << "루크가 죽었슴다 ㅡㅡ" << endl;
          cout << endl;
  • 코드레이스/2007.03.24상섭수생형진 . . . . 5 matches
          cout << ((getColor(sec))? "green" : "red") << endl ;
          cout << sec << "초" << endl << ((getColor(sec))? "green" : "red") << endl ;
          cout << cnt << "명이 신호위반" << endl ;
          cout << cnt << "명이 신호위반" << endl ;
  • 큐/Leonardong . . . . 5 matches
          cout << "1 : Push \t 2 : Pop \t 3: Show" << endl;
          default : cout << "눈 똑바로......" << endl;
          cout << "입력 초과" << endl;
          cout << "자료 없음" << endl;
          cout << endl;
  • 황현/Objective-P . . . . 5 matches
         @end
         @end
         class MyFirstObjPClass extends GNObject implements GNSomeProtocol {
         public static function tellMeTheTruth() {
         public function doSomeTaskWithSomething($localIntegerVar, $_objp_type_check=false) { // (void)
  • 2002년도ACM문제샘플풀이/문제A . . . . 4 matches
          cout << outputData[i] << endl;
          cout << board1[i] - diffSize[i] <<endl;
          for ( iter = datas.begin(); iter != datas.end(); iter++)
          cout << getVisibleArea(*iter) << endl;
  • AnEasyProblem/권순의 . . . . 4 matches
          cout << endl;
          cout << endl << output << endl;
          cout << "잘못된 입력입니다." << endl;
  • Ant/JUnitAndFtp . . . . 4 matches
          <target name="compile" depends="init" >
          <target name="dist" depends="compile">
          <target name="unittest" depends="compile">
          <target name="reporttoftp" depends="unittest">
  • Boost/SmartPointer . . . . 4 matches
         // argument, so would not work as intended. At that point the code was
          std::for_each( foo_vector.begin(), foo_vector.end(), FooPtrOps() );
          std::for_each( foo_set.begin(), foo_set.end(), FooPtrOps() );
         // shared_ptr_example2.cpp translation unit where functions requiring a
  • BoostLibrary/SmartPointer . . . . 4 matches
         // argument, so would not work as intended. At that point the code was
          std::for_each( foo_vector.begin(), foo_vector.end(), FooPtrOps() );
          std::for_each( foo_set.begin(), foo_set.end(), FooPtrOps() );
         // shared_ptr_example2.cpp translation unit where functions requiring a
  • BusSimulation/영동 . . . . 4 matches
          cout<<a+1<<"번째로 출발한 버스의 위치는 시작점으로부터 "<<bus_loc<<"km"<<endl;
          cout<<a+1<<"번째 버스는 아직 출발하지 않았습니다."<<endl;
          cout<<"===============Bus Simulation=================="<<endl;
          cout<<"____________Result of Bus Simulation___________"<<endl;
  • CPPStudy_2005_1/STL성적처리_2 . . . . 4 matches
          return accumulate(grades.begin(), grades.end(), 0.0);
          iter != record.end();
          grades != (iter->second).end();
          cout<<endl;
  • CPP_Study_2005_1/BasicBusSimulation/남상협 . . . . 4 matches
         #endif
          for(vector<Bus>::iterator it=m_buses.begin(); it!=m_buses.end(); ++it)
          for(vector<Bus>::iterator it=m_buses.begin(); it!=m_buses.end(); ++it)
         #endif
  • Chapter I - Sample Code . . . . 4 matches
          === Compiler-Independent Data Types ===
         #endif
         #endif
         #endif
  • ClassifyByAnagram/재동 . . . . 4 matches
          self.wordList.append(self.wordString[i])
          self.anagramList[self.index].append(self.wordString)
          self.anagramList.append([self.getSortWordString()])
          self.anagramList[len(self.anagramList)-1].append(self.wordString)
  • CollaborativeFiltering . . . . 4 matches
         협업 (상호협동) 필터링, Recommender System이라고도 불림. ProjectPrometheus에서 사용한다.
          * Overview on various CF algorithms (recommended) http://www.research.microsoft.com/users/breese/cfalgs.html
          * [http://www.voght.com/cgi-bin/pywiki?RecommenderSystems Recommender Systems]
  • CompleteTreeLabeling/조현태 . . . . 4 matches
          int end=gaesu-1;
          int find_last=end;
          if (find_last==end)
          for (register int j=end; j>=0; --j)
  • ContestScoreBoard/조현태 . . . . 4 matches
         datas* end_point=NULL;
          temp_point->prv=end_point;
          end_point->next=temp_point;
          end_point=temp_point;
  • CppStudy_2002_2 . . . . 4 matches
         || 자판기 ||["VendingMachine/세연"]||["VendingMachine/세연/재동"]||["VendingMachine/세연/1002"]||
         || 자판기 ||["VendingMachine/재니"]||||
  • DPSCChapter1 . . . . 4 matches
          * What is available in the form of classes, methods, and functionality in the existing base class libraries
          * How to use the specific tools of the Smalltalk interactive development environment to find and reuse existing functionality for new problems, as well as understanding programs from both static and runtime perspective
          * 현존하는 기반 class 라이브러리로부터 이용가능한 class, methods. 그리고 그 모듈들(현재는 functionality를 function 군들 또는 모듈 정도로 해석중. 태클 바람. --;)에 대해
  • DesignPatternsAsAPathToConceptualIntegrity . . . . 4 matches
         The source of this difference may be the lack of focus on design patterns in the design process. In fact, we seldom see discussions of the design process associated with design patterns. It is as though design patterns are a tool that is used independent of the process. Let’s investigate this further:
         b. OMT, Coad-Yourdon, Shaer-Mellor are data driven and as such raise data dependency as the system modularization principle.
         ResponsibilityDrivenDesign 의 Wirfs-Brock는 system modularization 에 대해 계약 최소화를 들었다.
         d. Snoeck with Event Driven Design (EDD) raises existence dependency as the system modularization principle.
         EventDrivenDesign 의 Snoeck 는 system modularization principle 에 대해 의존성 존재를 들었다.
         · Along what principle (experience, data, existence dependency, contract minimization, or some unknown principle) is the application partitioned?
  • EcologicalBinPacking/강희경 . . . . 4 matches
          cout << endl;
          cout << movedBottle << endl;
          cout << colorsCombination[aInformation[0]] << aInformation[1] << endl;
          cout << colorsCombination[aInformation[0]] << aInformation[1] << endl;
  • EffectiveSTL/ProgrammingWithSTL . . . . 4 matches
         = Item44. Prefer member functions to algorithms with the same names. =
         SIIT j = find(s.begin(), s.end(), 727)
         = Item46. Consider function objects instead of functions as algorithm parameters. =
  • EightQueenProblem/kulguy . . . . 4 matches
          buff.append(queen.getPoint().toString());
          buff.append("\n");
          buff.append(point);
          buff.append("\n");
  • EightQueenProblem/김형용 . . . . 4 matches
          result.append((num, y+i))
          result.append((x+j, num))
          result.append((num, y+i))
          result.append((x-j,num))
  • EightQueenProblemSecondTryDiscussion . . . . 4 matches
          ## make clone and append the
          self.EightQueenList.append (eq)
          self.EightQueenList.append (eq)
         제가 보기에 현재의 디자인은 class 키워드만 빼면 절차적 프로그래밍(procedural programming)이 되는 것 같습니다. 오브젝트 속성은 전역 변수가 되고 말이죠. 이런 구성을 일러 God Class Problem이라고도 합니다. AOP(Action-Oriented Programming -- 소위 Procedural Programming이라고 하는 것) 쪽에서 온 프로그래머들이 자주 만드는 실수이기도 합니다. 객체지향 분해라기보다는 한 거대 클래스 내에서의 기능적 분해(functional decomposition)가 되는 것이죠. Wirfs-Brock은 지능(Intelligence)의 고른 분포를 OOD의 중요요소로 뽑습니다. NQueen 오브젝트는 그 이름을 "Manager"나 "Main''''''Controller"로 바꿔도 될 정도로 모든 책임(responsibility)을 도맡아 하고 있습니다 -- Meyer는 하나의 클래스는 한가지 책임만을 제대로 해야한다(A class has a single responsibility: it does it all, does it well, and does it only )고 말하는데, 이것은 클래스 이름이 잘 지어졌는지, 얼마나 구체성을 주는지 등에서 알 수 있습니다. (Coad는 "In OO, a class's statement of responsibility (a 25-word or less statement) is the key to the class. It shouldn't have many 'and's and almost no 'or's."라고 합니다. 만약 이게 자연스럽게 되지않는다면 클래스를 하나 이상 만들어야 한다는 얘기가 되겠죠.) 한가지 가능한 지능 분산으로, 여러개의 Queen 오브젝트와 Board 오브젝트 하나를 만드는 경우를 생각해 볼 수 있겠습니다. Queen 오브젝트 갑이 Queen 오브젝트 을에게 물어봅니다. "내가 너를 귀찮게 하고 있니?" --김창준
  • GDBUsage . . . . 4 matches
         Edit specified file or function.
          FUNCTION, to edit at the beginning of that function,
          FILE:FUNCTION, to distinguish among like-named static functions.
         = front-end =
  • GuiTestingWithWxPython . . . . 4 matches
          self.listBox.Append('testing1')
          self.listBox.Append('testing2')
          self.listBox.Append('testing3')
          retList.append(self.listBox.GetString(idx))
  • HelloWorld . . . . 4 matches
          cout << "Hello, World" << endl;
          end
         end
          End Sub
         End Module
         end main;
  • JollyJumpers/이승한 . . . . 4 matches
         int checkJolly(int * array, int differ, bool programEnd = 0);
          char endCheck;
          differ = endCheck = 0;
          cin.get( endCheck );
          if( endCheck == '\n' ){
         int checkJolly(int * array, int differ, bool programEnd){ //differ는 n-1의 값을 가진다.
          if( programEnd ){
  • LC-Display/문보창 . . . . 4 matches
          cout << endl;
          cout << endl;
          int end = start + col - 1;
          for (i = start+1; i < end; i++)
  • Linux/필수명령어/용법 . . . . 4 matches
         만일 중간에 다른 점을 발견한다면 더 이상의 작업은 중단하고 차이를 발견한 지점을 알려주고는 종료한다. 또한 계속해서 일치해 나가다가 두 파일 중 어느 하나가 끝나는 경우가 있을 수 있다. 다시 말해, 한 파일이 다른 파일의 앞부분에 해당하는 경우이다. 이때는 어느쪽 파일의 end of file 표시를 만나게 되었는지를 알려주고 종료한다.
         파일2에서 파일1로 첨가(append)되어야 할 것은 ‘a' 기호로 표현된다. 그리고 파일1에서 제거(delete)되어야 하는 내용은 'd'로, 두 파일의 내용이 바뀌어(change)하는 내용은 ’c'기호로 표시한다. 이러한 수정 기호와 함께 행의 번호가 함께 표시되며, 해당 줄의 내용이 함께 출력된다.
         - $ mv sisap.hong victor.dongki readme.txt ../friend
         - $ mv /home/blade /home/friend
  • MFC/Socket . . . . 4 matches
          // member functions
          // ClassWizard generated virtual function overrides
          // Generated message map functions
          // NOTE - the ClassWizard will add and remove member functions here.
  • MoinMoinBugs . . . . 4 matches
         ''Well, Netscape suxx. I send the cookies with the CGI'S path, w/o a hostname, which makes it unique enough. Apparently not for netscape. I'll look into adding the domain, too.''
          * The intent is to not clutter RecentChanges with functions not normally used. I do not see a reason you want the lastest diff when you have the much better diff to your last visit.
          index_letters.append(letter)
         ''They render identically with IE5. Provide some info on your browser & OS. And the HTML is identical:''
  • MoreEffectiveC++/Operator . . . . 4 matches
         == Item 5: Be wary of user-defined conversion functions. ==
          1. if (expression1.operator&&(expression2))... // when operator && is member function.
          2. if (operator&&(expression1 , expression2))... // global function
         == Item 8: Understand the differend meanings of new and delete ==
  • NumberBaseballGame/동기 . . . . 4 matches
          cout<<number[0]<<number[1]<<number[2]<<endl;
          cout <<"out"<<endl;
          cout <<" strike"<<strike<<"\t"<<" ball"<<ball<<endl;
          cout <<"정답입니다."<<endl;
  • ProjectPrometheus/BugReport . . . . 4 matches
          * {{{~cpp RecommendList}}} 에 나오는 수가 너무 많다. 줄여야 한다.
          * '''호밀밭의 파수꾼''' 2002 년 판의 LendBookList 가 추출되지 않음.RecommendList 추출시에 역시 에러
          * {{{~cpp RecommendList}}} 가 깨지는 문제
  • PyIde/Scintilla . . . . 4 matches
         if end > start and doc.GetColumn(sel[1]) == 0:
          end = end-1
         SetAnchor(GetLineEndPosition(end))
         EndUndoAction()
  • RandomWalk/이진훈 . . . . 4 matches
          cout << endl;
          cout << count00 << " " << count01 << " " << count02 << endl;
          cout << count10 << " " << count11 << " " << count12 << endl;
          cout << count20 << " " << count21 << " " << count22 << endl;
  • Randomwalk/조동영 . . . . 4 matches
          cout << "세로, 가로의 크기의 범위를 벗어났네요. 다시 입력하세요." << endl;
          cout << "바퀴벌레가 방의 범위를 벗어났네요. 다시 입력하세요." << endl;
          cout << endl;
          cout << "\n총 이동한 횟수 :" << count << endl;
  • ReadySet 번역처음화면 . . . . 4 matches
         This is an open source project that you are welcome to use for free and help make better. Existing packages of software engineering templates are highly costly and biased by the authorship of only a few people, by vendor-client relationships, or by the set of tools offered by a particular vendor.
          *Use a text editor or an HTML editor. Please see our list of recommended tools. (You can use Word, but that is strongly discouraged.)
          *9. If you have questions or insights about a templates, please read the FAQ or send an email to dev@readyset.tigris.org. You must subscribe to the mailing list before you may post.
  • Refactoring/SimplifyingConditionalExpressions . . . . 4 matches
          if (data.before( SUMMER_START ) || data.after(SUMMER_END) )
          send();
          send();
         send();
          * You have a conditional that chooses different behavior depending on the type of and object [[BR]] ''Move each leg of the conditional to an overriding method in a subclass. Make the orginal method abstract.''
  • STL/set . . . . 4 matches
         for(set<int>::iterator i = s.begin() ; i != s.end() ; ++i) {
          cout << *i << endl; // 정렬되어 있다.
          for(set<int>::iterator i = s.begin() ; i != s.end() ; ++i) {
          cout << *i << endl; // 정렬되어 있다.
  • Slurpys/곽세환 . . . . 4 matches
          cout << "SLURPYS OUTPUT" << endl;
          cout << "YES" << endl;
          cout << "NO" << endl;
          cout << "END OF OUTPUT" << endl;
  • Spring/탐험스터디/wiki만들기 . . . . 4 matches
          1. Spring dependency injection을 이용하는 법
          1. pom.xml에 dependency 추가하기
         <dependency>
         </dependency>
  • Steps/조현태 . . . . 4 matches
          int endNumber;
          cin >> startNumber >> endNumber;
          for (register int j = startNumber; j < endNumber; ++j)
          cout << GetNumbersSize(initNumbers) << endl;
  • StructuredText . . . . 4 matches
          * Sub-paragraphs of a paragraph that ends in the word 'example' or the word 'examples', or '::' is treated as example code and is output as is.
          Is interpreted as '... by Smith <a href="#12">[12]</a> this ...'. Together with the next rule this allows easy coding of references or end notes.
          Is interpreted as '<a name="12">[12]</a> "Effective Techniques" ...'. Together with the previous rule this allows easy coding of references or end notes.
          renders like this:
  • Temp/Commander . . . . 4 matches
         #VendingMachineCommander.py
         import VendingMachineParser
          self.parser = VendingMachineParser.Parser()
          self.intro = 'Welcome to Vending Machine Simulator!\n'\
  • TheJavaMan/숫자야구 . . . . 4 matches
         public class BBGameFrame extends Frame implements WindowListener{
         public class BBGameFrame extends JFrame {
         public class UpperPanel extends Panel {
         public class LowerPanel extends Panel implements ActionListener, KeyListener{
  • TowerOfCubes/조현태 . . . . 4 matches
          cout << showStack.size() << endl;
          cout << FACE_NAME[showStack[i].topFace] << endl;
          cout << "Case #" << caseNumber << endl;
          cout << endl;
  • TriDiagonal/1002 . . . . 4 matches
          row.append(0.0)
          matrix.append(row)
          emptyRow.append(0.0)
          emptyMatrix.append(emptyRow)
  • TugOfWar/김회영 . . . . 4 matches
          //cout<<endl<<leftTotal<<" "<<rightTotal<<endl;
          cout<<endl<<leftOfTotal[j]<<" "<<rightOfTotal[j];
          cout<<endl;
  • html5practice/roundRect . . . . 4 matches
          * roundRect function 는 [http://js-bits.blogspot.com/2010/07/canvas-rounded-corner-rectangles.html 이용] 하였음.
         function roundRect(ctx, x, y, width, height, radius, fill, stroke) {
         function nodeDraw(ctx, text, pos){
         function main(){
  • html5practice/계층형자료구조그리기 . . . . 4 matches
         function roundRect(ctx, x, y, width, height, radius, fill, stroke) {
         function measureNode(node){
         function nodeDraw(ctx, x, y, node){
         function main(){
  • i++VS++i . . . . 4 matches
         for(vector<int>::iterator i = intArray.begin(); i != intArray.end(); ++i){
          cout << *i << endl;
         cout << data[i] << endl
         cout << data[i++] << endl;
  • 개인키,공개키/최원서,곽세환 . . . . 4 matches
          cout << endl;
          fout << endl;
          cout << endl;
          fout << endl;
  • 구구단/Leonardong . . . . 4 matches
          cout << endl;
          cout << endl;
          cout << endl;
          ) (print "end") ))
  • 구구단/문원명 . . . . 4 matches
          cout<<endl;
          cout<<endl<<endl;
          cout<<endl;
  • 구구단/민강근 . . . . 4 matches
          }cout<<endl;
          }cout<<endl<<endl;
          }cout<<endl;
  • 구구단/장창재 . . . . 4 matches
          cout << endl;
          cout << endl << endl;
          cout << endl;
  • 권영기/채팅프로그램 . . . . 4 matches
          send(client_socket, buff_snd, strlen(buff_snd)+1, 0);
          send(client_socket, buff_snd, strlen(buff_snd)+1, 0);
          if(check[i])send(client_socket[i], buff_snd, strlen(buff_snd)+1, 0);
          send(client_socket, buff_rcv, strlen(buff_rcv)+1, 0);
  • 데블스캠프2005/RUR-PLE . . . . 4 matches
         http://rur-ple.sourceforge.net/images/newspaper_end.png
         http://rur-ple.sourceforge.net/images/move_pick_end.png
         http://rur-ple.sourceforge.net/images/sort1_end.png
         http://rur-ple.sourceforge.net/images/sort3_end.png
  • 데블스캠프2006/화요일/pointer/문제1/성우용 . . . . 4 matches
          cout<<"a"<<a<<endl;
          cout<<"b"<<b<<endl;
          cout<<"a"<<a<<endl;
          cout<<"b"<<b<<endl;
  • 데블스캠프2010/다섯째날/ObjectCraft/미션3/김상호 . . . . 4 matches
          int defenderunit = rand() % 2;
          attack(a[attackerTeam * 2 + attackerUnit],a[(!attackerTeam) * 2 + defenderunit]);
          int defenderunit = rand() % 2;
          a[attackerTeam * 2 + attackerUnit].attack(a[(!attackerTeam) * 2 + defenderunit]);
  • 데블스캠프2010/일반리스트 . . . . 4 matches
          for (it=mylist.begin(); it!=mylist.end(); ++it)
          cout << endl;
          for (it=mylist.begin(); it!=mylist.end(); ++it)
          cout << endl;
  • 데블스캠프2011/둘째날/Machine-Learning/SVM/namsangboy . . . . 4 matches
          print "read end "
          print "end"
          outlist.append(str(wordidx)+":"+str(1))
         # outlist.append(str(wordidx)+":"+str(docwordfreq[wordidx]))
  • 데블스캠프2012/넷째날/묻지마Csharp/서민관 . . . . 4 matches
          private void clicked(object sender, EventArgs e)
          private void pushButton_Click(object sender, EventArgs e)
          private void timer1_Tick(object sender, EventArgs e)
          private void Form1_KeyUp(object sender, KeyEventArgs e)
  • 문제풀이/1회 . . . . 4 matches
         Equivalent to eval(raw_input(prompt)). Warning: This function is not safe from user errors! It expects a valid Python expression as input; if the input is not syntactically valid, a SyntaxError will be raised. Other exceptions may be raised if there is an error during evaluation. (On the other hand, sometimes this is exactly what you need when writing a quick script for expert use.)
         Consider using the raw_input() function for general input from users.
          ==== FunctionalProgramming ====
          v.append(input())
          news.append(int(i))
  • 방울뱀스터디/만두4개 . . . . 4 matches
          traceList.append((row,col))
          traceList.append((row,col))
          traceList.append((row,col))
          traceList.append((row,col))
  • 벡터/김홍선,노수민 . . . . 4 matches
          sort(vec.begin(), vec.end(), *compare);
          for(i=vec.begin();i<vec.end();i++)
          cout << (*i).name << endl;
          cout << (*i).score << endl;
  • 비밀키/나휘동 . . . . 4 matches
          cout << "처리중입니다..."<< endl;
          cout << endl;
          cout << "처리중입니다..."<< endl;
          cout << endl;
  • 새싹교실/2011/쉬운것같지만쉬운반/2011.4.6 . . . . 4 matches
         using std::endl;
          cout<<100<<endl<<10<<endl<<1<<endl;
  • 새싹교실/2012/우리반 . . . . 4 matches
         int function(int fa,int fb);
          a+=function(a,b);
         int function(int fa,int fb)
          * int main( void ) - main indicate that main is a program building block called a function
  • 서지혜/단어장 . . . . 4 matches
          Density is physical intrinsic property of any physical object, whereas weight is an extrinsic property that varies depending on the strength of the gravitational field in which the respective object is placed.
          방대한 : He spends a lot of his own time checking up on his patients, taking extensive notes on what he's thinking at the time of diagnosis, and checking back to see how accurate he is.
         '''endeavor'''
          no man can succeed in a line of endeavor which he does not like.
  • 수학의정석/집합의연산/조현태 . . . . 4 matches
          int end=gaesu-1;
          int find_last=end;
          if (find_last==end)
          for (register int j=end; j>=0; --j)
  • 숫자야구/aekae . . . . 4 matches
          cout << number << endl;
          cout << number << endl;
          cout << strike << "S " << ball << "B " << endl;
          cout << "OUT" << endl;
  • 식인종과선교사문제/변형진 . . . . 4 matches
          function __construct()
          function to_right()
          function to_left()
          function ferry($canni, $missi)
  • 안혁준/class.js . . . . 4 matches
         Function.prototype.extend = function(superclass)
         Function.prototype.implement = function()
          if(typeof fn == "function")
  • 장용운/알파벳놀이 . . . . 4 matches
         using std::endl;
         void draw(char begin, char end) {
          for(int i=0; i<= (end-begin); i++) {
          cout<<endl;
  • 중위수구하기/남도연 . . . . 4 matches
          cout<<"비교할 세 수를 입력하세요"<<endl;
          cout<<"프로그램 종료"<<endl;
          cout<<"A="<<x<<" B="<<y<<" C="<<z<<endl;
          cout<<"중위수는 "<<center<<"입니다."<<endl;
  • 최소정수의합/송지훈 . . . . 4 matches
         using std::endl;
          cout << "The smallest 'n' for making the number what we want" << endl;
          cout << "-->" << integer << endl;
          cout << "Total sum is " << sum << endl;
  • 최소정수의합/조현태 . . . . 4 matches
         int sum(int end_number)
          if (1==end_number)
          return end_number*(end_number+1)/2;
  • 코드레이스/2007/RUR_PLE . . . . 4 matches
         http://rur-ple.sourceforge.net/images/newspaper_end.png
         http://rur-ple.sourceforge.net/images/move_pick_end.png
         http://rur-ple.sourceforge.net/images/sort1_end.png
         http://rur-ple.sourceforge.net/images/sort3_end.png
  • 하노이탑/윤성복 . . . . 4 matches
          cout << start << "에서 " << finish << endl;
          cout << start << "에서 " << finish << endl;
          cout << endl << "최소 이동횟수" << MoveCount << endl;
  • 05학번만의C++Study/숙제제출1/윤정훈 . . . . 3 matches
         using std::endl;
          cout << "섭씨온도를 화씨온도로 바꿔주는 프로그램 입니다. \n섭씨온도를 입력해주세요" << endl;
          cout << " 변환된 화씨온도는 " << Ftemp << "입니다." << endl;
  • 1002/Journal . . . . 3 matches
         Service 와 Controller 가 거의 Composition 이고, 그로 인해 Controller 는 Mapper, Recommender 들이 줄줄히 의존성을 가졌다. 각각의 Mapper, Recommender 들이 DB 를 쓰므로 이를 Mock Object 를 쓸까 하다가, 어차피 현재 작성하는 부분이 AcceptanceTest 의 일부이므로 실제 객체를 그냥 이용해도 좋겠다고 판단, 그대로 이용하고 작성.
         from TestDrivenDevelopmentByExample
         적고 나니까.. 몇달전에 '해야지 해야지' 했었던 것들, 몇년전에 '해야지 해야지' 했던 것들이 Work Queue 에서 기다리고 있다. 멀리로는 Smalltalk 코드 제대로 읽을 줄 안뒤 SBPP 공부한다고 했었던 것이랑, Functional Language 하나 익혀둔다고 했었던 것이랑, 가까운 것으로 치면 기존에 만들어놓은 소스들 리팩토링 하면서 라이브러리 추출한다고 했었던 것들 등등.
          reverse(selectable.begin(), selection.end())
  • 1thPCinCAUCSE/ProblemA/Solution/zennith . . . . 3 matches
          int startTime, endTime, ret = 0;
          endTime = arg[2] * 60 + arg[3];
          while ( startTime = (++startTime % 720), startTime != endTime )
  • 3DGraphicsFoundationSummary . . . . 3 matches
         = 혼합(Blend) =
          * 사용하는 함수 : glEnable(GL_BLEND), glBlendFunc(원본 픽셀에 대한 블랜딩 계수를 계산하는 방식, 대상 픽셀에 대한 블랜딩 계수를 계산하는 방식)
         Define the LoadBMPfile(char *filename) function
  • 3N 1/김상섭 . . . . 3 matches
          cout << " 하하 " <<endl;
         // cout << i << " " << table[i] << endl;
          cout << max_num << endl;
  • 3N+1/김상섭 . . . . 3 matches
          cout << " 하하 " <<endl;
         // cout << i << " " << table[i] << endl;
          cout << max_num << endl;
  • ACM_ICPC/PrepareAsiaRegionalContest . . . . 3 matches
          cout << " " << max << endl;
          bool isEnd();
          if ( gamer.isEnd() )
         bool Gamer::isEnd()
          cout << engine.report() << endl;
          cout << fall(N,K) << endl;
  • AcceleratedC++ . . . . 3 matches
          || ["AcceleratedC++/Chapter8"] || Writing generic functions || 4주차 ||
          || ["AcceleratedC++/AppendixA"] || Language details || ||
          || ["AcceleratedC++/AppendixB"] || Library summary || ||
  • AdventuresInMoving:PartIV/문보창 . . . . 3 matches
          cout << d[1][totalLength - station[numStation].length + 100] << endl;
          cout << min << endl;
          cout << endl;
  • AproximateBinaryTree/김상섭 . . . . 3 matches
          sort(root->nodes.begin(),root->nodes.end(),comapare);
          cout << endl;
          cout << cost(root,1) << endl;
  • C++스터디_2005여름/도서관리프로그램/문보창 . . . . 3 matches
         #endif
         #endif
          cout << (*temp).get_ISBN() << endl;
  • C++스터디_2005여름/학점계산프로그램/문보창 . . . . 3 matches
         #endif
         #endif
          cout << "학번 : " << number << " 평점 : " << average << endl;
  • CCNA/2013스터디 . . . . 3 matches
          || 10 || Router_Aconfig-if)#end || 설정 끝 ||
          4. 발신 쪽과 수신 쪽이 '''종단과 종단(end to end)으로''' '''B채널이 연결된다'''. 연결된 채널로 데이터 전송.
  • CPP_Study_2005_1/Basic Bus Simulation/김태훈 . . . . 3 matches
          cout << "몇시간 후의 버스 위치를 보시겠습니까?" << endl << "시간 : ";
          for(vector<cbus>::iterator j=vbus.begin();j<vbus.end();++j)
          cout << j->buspos(min+hour*60,lanelen) << " km" << endl;
  • CVS/길동씨의CVS사용기ForRemote . . . . 3 matches
         cvs import -m "코멘트" 프로젝트이름 VenderTag ReleaseTag
          cout << "Hello World!" << endl;
         > cout << "Hello World!" << endl;
  • CheckTheCheck/Celfin . . . . 3 matches
          cout << "Game #" <<gameNum << ": black king is in check."<<endl;
          cout << "Game #" <<gameNum << ": white king is in check."<<endl;
          cout << "Game #" <<gameNum << ": no king is in check." <<endl;
  • CheckTheCheck/곽세환 . . . . 3 matches
          cout << "Game #" << gameCnt << ": white king is in check." << endl;
          cout << "Game #" << gameCnt << ": black king is in check." << endl;
          cout << "Game #" << gameCnt << ": no king is in check." << endl;
  • CheckTheCheck/문보창 . . . . 3 matches
          int endCount = 0;
          endCount++;
          if (endCount == 8)
  • ClassifyByAnagram/1002 . . . . 3 matches
          self.anagrams[aw].append(aWord)
          end=time.clock()
          print "time : ", end-start
  • ClassifyByAnagram/Passion . . . . 3 matches
          long end = System.currentTimeMillis();
          System.out.println("time : "+(end-start)+"millis");
         public class AnagramTest extends TestCase {
  • CompilerTheory/ManBoyTest . . . . 3 matches
          end;
          end;
          end;
  • ComputerNetworkClass/Report2006/PacketAnalyzer . . . . 3 matches
         #define SIO_RCVALL _WSAIOW(IOC_VENDOR,1)
         __intn 1, 2, 4, or 8 bytes depending on the value of n. __intn is Microsoft-specific.
         (3) 만들어진 front-end, back-end 를 통합한다.
  • ContestScoreBoard/허아영 . . . . 3 matches
          cout << "team number : " << i << endl;
          cout << "team num of q : " << q_index[i] << endl;
          cout << "team time : " << team_data[i][0] << endl;
  • Counting/김상섭 . . . . 3 matches
          cout << n[k] << endl;
          for(vector<int>::iterator j = test.begin(); j != test.end(); j++)
          cout << n[*j] << endl;
  • CubicSpline/1002/test_NaCurves.py . . . . 3 matches
         class TestGivenFunction(unittest.TestCase):
          actual = givenFunction(-1.0)
          actual = givenFunction(x)
          def testFunctionExistence(self):
          listY.append(givenFunction(x))
          def testSubBasedFunctionOne(self):
          self.assertEquals (l._subBasedFunction(x,0,1), expected)
          self.assertEquals (l._subBasedFunction(x,0,2), expected)
          self.assertEquals (l._subBasedFunction(x,0,3), expected)
          self.assertEquals (l._subBasedFunction(x,0,0), 1)
          def testSubBasedFunctionTwo(self):
          self.assertEquals (l._subBasedFunction(x,1,0), expected)
          self.assertEquals (l._subBasedFunction(x,1,2), expected)
          self.assertEquals (l._subBasedFunction(x,1,3), expected)
          self.assertEquals (l._subBasedFunction(x,1,1), 1)
          def testSubBasedFunctionMany(self):
          actual = l._subBasedFunction (x, i, j)
          def testBasedFunctionOne(self):
          y0 = givenFunction(self.dataset[0])
          self.assertEquals (self.l._basedFunction(x, 0), expected)
  • DPSCChapter4 . . . . 3 matches
         '''Bridge(121)''' Decouple an abstraction from its implementation so that the two can vary independently
         '''Decorator(161)''' Attach Additional responsibilities and behavior to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality.
  • DebuggingSeminar_2005 . . . . 3 matches
          || [http://www.dependencywalker.com/ DependencyWalker] || Dependency Walker (Included at VS6) ||
  • Doublets/황재선 . . . . 3 matches
          private int end;
          public void setEndToEnd(String word1, String word2) {
          end = wordList.indexOf(word2) + 1;
          String destination = wordList.get(end - 1);
          simulator.setEndToEnd(words.split(" ")[0], words.split(" ")[1]);
  • DylanProgrammingLanguage . . . . 3 matches
         Dylan is an advanced, object-oriented, dynamic language which supports rapid program development. When needed, programs can be optimized for more efficient execution by supplying more type information to the compiler. Nearly all entities in Dylan (including functions, classes, and basic data types such as integers) are first class objects. Additionally Dylan supports multiple inheritance, polymorphism, multiple dispatch, keyword arguments, object introspection, macros, and many other advanced features... --Peter Hinely
          * http://www.opendylan.org
         Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc.
         License: Functional Objects Library Public License Version 1.0
         end method say-hello;
  • EcologicalBinPacking/김회영 . . . . 3 matches
          cout<<"용기에 담겨 있는 병의 개수를 차례대로 넣으세요"<<endl;
          cout<<endl;
          cout<<endl;
  • EcologicalBinPacking/황재선 . . . . 3 matches
          cout << "병의 수 초과" << endl;
          cout << "다시 입력" << endl;
          cout << color[colorResult] << " " << min << endl;
  • EffectiveSTL/Iterator . . . . 3 matches
         VIRI ri = find(v.rbegin(), v.rend(), 3); // 거꾸로 순회하면서 3을 찾는다.
         || rend() || || || ri || || rbegin() || ||
         || || begin() || || || i || || end() ||
  • EightQueenProblem/이선우3 . . . . 3 matches
         public abstract class Chessman extends Point
         public class Queen extends Chessman
         public class ConsolBoard extends Board
  • ErdosNumbers/차영권 . . . . 3 matches
          cout << "Scenario " << scenario++ << endl;
          cout << "infinity" << endl;
          cout << saveResult[i] << endl;
  • Fmt/문보창 . . . . 3 matches
         void remove_string_end_space(string & str);
          remove_string_end_space(str);
         void remove_string_end_space(string & str)
  • Gof/FactoryMethod . . . . 3 matches
         MyCreator::Create handles only YOURS, MINE, and THEIRS differently than the parent class. It isn't interested in other classes. Hence MyCreator extends the kinds of products created, and it defers responsibility for creating all but a few products to its parent.
         The function CreateMaze (page 84) builds and returns a maze. One problem with this function is that it hard-codes the classes of maze, rooms, doors, and walls. We'll introduce factory methods to let subclasses choose these components.
  • GuiTestingWithMfc . . . . 3 matches
         #endif
         END_MESSAGE_MAP()
         #endif
          CPPUNIT_TEST_SUITE_END();
         #endif
  • HelpOnXmlPages . . . . 3 matches
          <xsl:value-of select="system-property('xsl:vendor')"/>
          (<a href="{system-property('xsl:vendor-url')}"><xsl:value-of select="system-property('xsl:vendor-url')"/></a>)
  • JTDStudy/첫번째과제/상욱 . . . . 3 matches
         public class NumberBaseBallGameTest extends TestCase {
         public class JUnit38Test extends TestCase {
         LENGTH,START,END,TURN_LIMIT=3,100,999,8
          answer = str(randint(START,END))
         def Show(sbo,count, end=True):
          if isEnd:print '%d 회 스트라이크 아웃!' % count
          isEnd = sbo[0] == LENGTH
          Show(sbo,count,isEnd)
          if isEnd:break
  • Java/CapacityIsChangedByDataIO . . . . 3 matches
          showedString.append(" ");
          showedString.append(aSrc);
          stringBuffer.append((char) ('a' + length % 26));
  • JavaStudy2004/클래스상속 . . . . 3 matches
         {{{~cpp public class Circle extends Shape {
         {{{~cpp public class Rectangle extends Shape {
          * 디폴트 전달인자 : type functionName( type A1, type A2, A3 = 0 );와 같이 값이 전달 되지 않을경우 자동을 전달되는 값을 가지는 함수의 기능을 말합니다.
  • JollyJumpers/Celfin . . . . 3 matches
          cout <<"Jolly"<<endl;
          cout <<"Not jolly"<<endl;
          cout <<"Jolly"<<endl;
  • JollyJumpers/허아영 . . . . 3 matches
          cout << "Jolly" << endl;
          cout << "Jolly" << endl;
          cout << "Not jolly" << endl;
  • LCD-Display/김상섭 . . . . 3 matches
          cout << endl;
          cout << endl;
          cout << endl;
  • LIB_1 . . . . 3 matches
          LIB_pend_sem(semaphore , 50);
          // send message :: msg1
         #endif
  • MFCStudy_2001/MMTimer . . . . 3 matches
          pDlg->SendMessage(WM_MYMSG,0,0);
          - Applications should not call any system-defined functions from inside a callback function, except for PostMessage, timeGetSystemTime, timeGetTime, timeSetEvent, timeKillEvent, midiOutShortMsg, midiOutLongMsg, and OutputDebugString.[[BR]]
  • MagicSquare/성재 . . . . 3 matches
          cout<<endl;
          cout<<endl;
          cout<<endl;
  • Map연습문제/노수민 . . . . 3 matches
          cout << endl;
          for(map::iterator i=vec.begin(); i< vec.end() ;i++)
          cout << endl;
  • Map연습문제/황재선 . . . . 3 matches
          cout << endl;
          cout << "비밀키" << endl;
          cout << endl;
  • MineSweeper/김회영 . . . . 3 matches
          cout<<endl<<"Field# :"<<count<<endl;
          cout<<endl;
  • MineSweeper/허아영 . . . . 3 matches
          cout << "Field #" << fieldNum << ":" << endl;
          cout << endl;
          cout << endl;
  • Minesweeper/이도현 . . . . 3 matches
          cout << endl;
          cout << "Field #" << outputNumber++ << ":" << endl;
          cout << endl;
  • MobileJavaStudy/HelloWorld . . . . 3 matches
         public class HelloWorld extends MIDlet implements CommandListener {
         class HelloWorldCanvas extends Canvas {
         public class HelloWorld extends MIDlet implements CommandListener {
  • MoreEffectiveC++/Exception . . . . 3 matches
          endTransaction();
         이럴 경우에는 Session의 파괴자에게 문제를 제거하는 명령을 다시 내릴수 있따 하지만 endTransaction이 예외를 발생히킨다면 다시 try-catch문으로 돌아 갈수 밖에 없다.
         == Item 12: Understand how throwing an exception differs from passing a parameter or calling a virtual function ==
          if (someFunction() ) { // someFunction()이 참이면 int형의 변수를 예외로 던진다.
          void someFunction()
          someFunction(); // 여기에서 exception *을 던진다.
         void someFunction()
          void someFunction()
          void someFunction()
          someFunction();
         void someFunction()
          someFunction();
  • MoreEffectiveC++/Techniques2of3 . . . . 3 matches
         RCObject는 생성되고, 파괴되어 질수 있어야 한다. 새로운 참조가 추가되면 현재의 참조는 제거되어야 한다. 공유 상태에 대해 여부를 알수 있어야 하며, disable로 설정할수 있어야 한다. 파괴자에 대한 실수를 방지하기 위하여 베이스 클래스는 파괴자를 가상 함수로선언해야 된다. 여기에서는 순수 가상 함수(pure virtual function)로 선언한다.
          friend class CharProxy;
         Item 29에 나와있는, non-const String::operator[]과 비교해보면 인상적인 느낌이 올것이다. 이것은 예측할수 있다. Item29에서는 이러한 쓰기와 읽기를 구분하지 못해서 무조건 non-const operator[]를 쓰기로 취급했다. 그리고, CharProxy는 String에 대한 자유로운 접근을 위해 friend로 선언했기에 문자값의 복사 과정의 수행이 가능하다.
  • OpenGL스터디 . . . . 3 matches
         === 랜더링 & 랜더(render) ===
          * 핵심정리 : 3차원 사물에 대한 정보를 가지고 화면(2차원)에 표시하는 것을 '''랜더(render)한다'''라고 말하고 랜더링이라고 한마디로 말한다.
         '''블랜딩(blending)'''이란 화면상에 색상과 물체를 혼합하는 효과를 이야기한다. 이를 사용하는 곳은 주로 두 이미지가 겹쳐있는 효과를 내기위해서 사용한다. 예를 들어
  • OurMajorLangIsCAndCPlusPlus/ctype.h . . . . 3 matches
         == 함수 (FUNCTIONS) ==
         || 함수명(Ascii) || 내용 ||
         || 함수명 (Uncode) || 내용 ||
         || 함수명 || 내용 ||
  • OurMajorLangIsCAndCPlusPlus/stdlib.h . . . . 3 matches
          == 함수 (Functions) - String Functions ==
         || double strtod(const char *str, char **endptr); || 문자열을 실수(double precision)로 변환 ||
         || long int strtol(const char *str, char **endptr, int base); || 문자열을 정수(long integer)로 변환 ||
         || unsigned long int strtoul(const char *str, char **endptr, int base); || 문자열을 정수(unsigned long)로 변환 ||
          == 함수 (Functions) - Memory Functions ==
          == 함수 (Functions) - Environment Functions ==
         == 함수 (Functions) - Searching and Sorting Functions ==
         == 함수 (Functions) - Math Functions ==
         == 함수 (Functions) - Multibyte Functions ==
  • PPProject/20041001FM . . . . 3 matches
          cout << str << endl;
          cout << str << endl;
          cout<<strcat(buffer2,buffer1)<<endl;
  • PokerHands/Celfin . . . . 3 matches
          cout <<"Black wins." <<endl;
          cout <<"White wins." <<endl;
          cout <<"Tie."<<endl;
  • PrimaryArithmetic/허아영 . . . . 3 matches
          cout << "No carry operation." << endl;
          cout << "1 carry operation." << endl;
          cout << operation << " carry operations." << endl;
  • ProgrammingLanguageClass/2006/Report3 . . . . 3 matches
         2) You are also recommended to check if Swap (x, y) does work properly or not
          end;
          end
  • RandomWalk/대근 . . . . 3 matches
          cout<<endl<<endl;
          cout<<endl;
  • RandomWalk/동기 . . . . 3 matches
          cout<<endl;
          cout <<endl<<p<<endl;
  • RandomWalk/변준원 . . . . 3 matches
          cout<<endl;
          cout<<endl;
          cout << "바퀴벌레의 이동횟수는 " << number << "입니다." << endl;
  • RandomWalk/성재 . . . . 3 matches
          c = rand() % num; //end
          int q = rand() % 8; //end
          cout << endl;
  • RandomWalk/은지 . . . . 3 matches
          int end , direct ;
          end = check_all(size); //모든 판을 다 갔는지 체크
          }while(!end);
  • RandomWalk/창재 . . . . 3 matches
          cout << endl << endl;
          cout << "총 움직인 횟수 = " << count << endl ;
  • RandomWalk2/Leonardong . . . . 3 matches
          cout << "시작 위치 : " << x << ", " << y << endl;
          cout << endl;
          cout << endl;
  • RandomWalk2/재동 . . . . 3 matches
          path.append(int(self.data[2][i]))
          path[who].append(int(self.data[who*2+2][i]))
          path[who].append(int(self.data[who*2+2][i]))
  • RefactoringDiscussion . . . . 3 matches
         protected int usageInRange(int start, int end) {
          if (lastUsage() > start) return Math.min(lastUsage(),end) - start;
          * ["Refactoring"]의 Motivation - Pattern 이건 Refactoring 이건 'Motivation' 부분이 있죠. 즉, 무엇을 의도하여 이러이러하게 코드를 작성했는가입니다. Parameterize Method 의 의도는 'couple of methods that do similar things but vary depending on a few values'에 대한 처리이죠. 즉, 비슷한 일을 하는 메소드들이긴 한데 일부 값들에 영향받는 코드들에 대해서는, 그 영향받게 하는 값들을 parameter 로 넣어주게끔 하고, 같은 일을 하는 부분에 대해선 묶음으로서 중복을 줄이고, 추후 중복이 될 부분들이 적어지도록 하자는 것이겠죠. -- 석천
  • RubyLanguage/Class . . . . 3 matches
         end
          end
         end
  • Self-describingSequence/조현태 . . . . 3 matches
          for(suchNumber = i; numbers.end() == numbers.find(suchNumber); --suchNumber);
          for(suchNumber = pointNumber; numbers.end() == numbers.find(suchNumber); --suchNumber);
          cout << GetSolomonGolombNumber(calculateNumber) << endl;
  • Shoemaker's_Problem/곽병학 . . . . 3 matches
          for(it = mm.begin(); it != mm.end(); ++it)
          cout<<endl<<endl;
  • SmallTalk/강좌FromHitel/소개 . . . . 3 matches
         procedure TForm1.Button1Click(Sender: TObject);
          end;
          end;
  • SmallTalk_Introduce . . . . 3 matches
         procedure TForm1.Button1Click(Sender: TObject);
          end;
          end;
  • SolarSystem/상협 . . . . 3 matches
          MessageBox(NULL,"Release Rendering Context Failed.","SHUTDOWN ERROR",
          MessageBox(NULL,"Cant't Create A GL Rendering Context"
          MessageBox(NULL,"Can't Activate The GL Rendering Context"
  • StacksOfFlapjacks/이동현 . . . . 3 matches
          int searchBigIndex(int end){ //0~end index까지 검사하여 가장 큰 수의 index리턴.
          for(int i=1;i<=end;i++){
          bool isEnd(){ //모든숫자가 정렬되었는지 확인.
          if(isEnd()==true)
  • Steps/문보창 . . . . 3 matches
          cout << 2 * (i - 1) << endl;
          cout << 2 * i - 1 << endl;
          cout << 2 * i << endl;
  • StringOfCPlusPlus/상협 . . . . 3 matches
          friend ostream& operator<<(ostream &os, String &s);
         #endif
          String Test("The reverse function work well in English");
  • TdddArticle . . . . 3 matches
         http://groups.yahoo.com/group/testdrivendevelopment/files/ 중 TDDD.pdf
         제약사항으로는 Stored Procedure 나 Trigger 등 Vendor-Specfic 한 기술들을 적용하기 어렵다는 점 (이를 위해선 로컬 DB 또한 해당 Vendor의 DB를 설치해야 하므로).
  • TheGrandDinner/하기웅 . . . . 3 matches
          cout << "1" <<endl;
          cout <<endl;
          cout << "0" <<endl;
  • TheJavaMan/지뢰찾기 . . . . 3 matches
         public class Mine extends JApplet {
          class Kan extends JLabel {
          class Timer extends Thread {
  • ThePriestMathematician/김상섭 . . . . 3 matches
          cout << i << " " << a[i] << " " << hanoi[i] << endl;
          for(vector<int>::iterator j = test.begin(); j != test.end(); j++)
          cout << hanoi[*j] << endl;
  • UML . . . . 3 matches
         This diagram describes the functionality of the (simple) Restaurant System. The Food Critic actor can Eat Food, Pay for Food, or Drink Wine. Only the Chef Actor can Cook Food. Use Cases are represented by ovals and the Actors are represented by stick figures. The box defines the boundaries of the Restaurant System, i.e., the use cases shown are part of the system being modelled, the actors are not.
         This diagram describes the sequences of messages of the (simple) Restaurant System. This diagram represents a Patron ordering food and wine; drinking wine then eating the food; finally paying for the food. The dotted lines extending downwards indicate the timeline. The arrows represent messages (stimuli) from an actor or object to other objects. For example, the Patron sends message 'pay' to the Cashier. Half arrows indicate asynchronous method calls.
  • UML/CaseTool . . . . 3 matches
         == Aspects of Functionality ==
         There is some debate among software developers about how useful code generation as such is. It certainly depends on the specific problem domain and how far code generation should be applied. There are well known areas where code generation is an established practice, not limited to the field of UML. On the other hand, the idea of completely leaving the "code level" and start "programming" on the UML diagram level is quite debated among developers, and at least, not in such widespread use compared to other [[software development]] tools like [[compiler]]s or [[Configuration management|software configuration management systems]]. An often cited criticism is that the UML diagrams just lack the detail which is needed to contain the same information as is covered with the program source. There are developers that even state that "the Code ''is'' the design" (articles [http://www.developerdotstar.com/mag/articles/reeves_design_main.html] by Jack W. Reeves [http://www.bleading-edge.com/]).
         Reverse engineering encloses the problematic, that diagram data is normally not contained with the program source, such that the UML tool, at least in the initial step, has to create some ''random layout'' of the graphical symbols of the UML notation or use some automatic ''layout algorithm'' to place the symbols in a way that the user can understand the diagram. For example, the symbols should be placed at such locations on the drawing pane that they don't overlap. Usually, the user of such a functionality of an UML tool has to manually edit those automatically generated diagrams to attain some meaningfulness. It also often doesn't make sense to draw diagrams of the whole program source, as that represents just too much detail to be of interest at the level of the UML diagrams. There are also language features of some [[programming language]]s, like ''class-'' or ''function templates'' of the programming language [[C plus plus|C++]], which are notoriously hard to convert automatically to UML diagrams in their full complexity.
  • UglyNumbers/김회영 . . . . 3 matches
          cout<<1<<":"<<1<<endl;
          cout<<count<<":"<<number<<endl;
          cout<<endl;
  • VMWare/OSImplementationTest . . . . 3 matches
         gdt_end: ; Used to calculate the size of the GDT
          dw gdt_end - gdt - 1 ; Limit (size)
         starting function
  • VisualStudio . . . . 3 matches
         C++ 에서는 자바에서의 import 의 명령과 달리 해당 헤더화일에 대한 pre-processor 의 기능으로서 'include' 를 한다. 그러다 보니 해당 클래스나 함수 등에 redefinition 문제가 발생한다. 이를 방지하는 방법으로 하나는 #ifndef - #endif 등의 명령을 쓰는것이고 하나는 pragma once 이다.
         #endif
          * 기본 도구 표시줄에서 Project(프로젝트) » Properties(속성) » Linker(링커) » Input(입력)을 선택하고 "Additional Dependencies(추가 의존관계)" 행에 필요한 라이브러리 파일 (예: abcd.lib)을 추가합니다.
  • VonNeumannAirport/인수 . . . . 3 matches
          cout << "ConfigurationtLoad" << endl;
          for(map<int, int>::iterator j = _trafficAmountCollection.begin() ; j != _trafficAmountCollection.end() ; ++j)
          cout << "t" << j->second << "t" << j->first << endl;
  • XsltVersion . . . . 3 matches
          <xsl:value-of select="system-property('xsl:vendor')"/>
          (<a href="{system-property('xsl:vendor-url')}"><xsl:value-of select="system-property('xsl:vendor-url')"/></a>)
  • ZeroPage . . . . 3 matches
          * 2013 삼성 Software Friendship 선정
          * 2015 Samsung Software Friendship 4기 동아리 선정
          * 삼성 Software Friendship 동아리 선정
  • ZeroPage_200_OK/note . . . . 3 matches
          if (("f" in _proto) && typeof _proto["f"] === "function")
         function People(){};
         function Man(){};
  • [Lovely]boy^_^/Diary/2-2-16 . . . . 3 matches
          * Today, All final-exams will end.
         DeleteMe) I envy you. In my case, all final-exams will end at Friday. Shit~!!! -_- Because of dynamics(In fact, statics)... -_-;; --["Wiz"]
          * I had drunken with friend until A.M. 2:00. and had sung until A.M. 4:00--;
  • [Lovely]boy^_^/Diary/2-2-9 . . . . 3 matches
          * I make arcanoid perfectly(?) today. I will add functions that a shootable missile and multiple balls.
          * I'll never advance arcanoid.--; It's bored. I'll end the refactoring instantly, and do documentaion.
          * This meeting is also helpful. Although a half of members don't attend, I can think many new things.
  • canvas . . . . 3 matches
          for (list<Shape*>::iterator it=m_shape.begin();it!=m_shape.end();it++){
          for (list<Shape*>::iterator it=m_shape.begin(); it!=m_shape.end();it++){
          for(vector<Shape*>::iterator it=canvas.begin(); it!=canvas.end();++it)
  • minesweeper/Celfin . . . . 3 matches
          cout << "Field #"<<field<<":"<<endl;
          cout<<endl;
          cout << endl;
  • whiteblue/자료구조다항식구하기 . . . . 3 matches
          cout << "End" << endl;
          cerr << "다시 입력하시오." << endl;
          cout << a->coef << "X^" << a->expon << endl;
  • zennith/source . . . . 3 matches
          time_t start, end;
          end = clock();
          printf("\n%f\n", (double)(end - start) / CLK_TCK);
  • 가위바위보/영록 . . . . 3 matches
          cout << buf << endl;
          cout << buf << endl;
          cout << count1 << " " << count2 << " " << count3 << endl;
  • 구구단/강희경 . . . . 3 matches
          cout << endl;
          cout << endl;
          cout << endl;
  • 구구단/김상윤 . . . . 3 matches
          cout<<endl;
          cout<<endl;
          cout<<endl;
  • 구구단/방선희 . . . . 3 matches
          cout << endl;
          cout << endl;
          cout << endl;
  • 구구단/조재화 . . . . 3 matches
          cout<<endl;
          cout<<endl;
          cout<<endl;
  • 김상윤 . . . . 3 matches
          cout << a << b << c << endl;
          cout << j << "S" << endl;
          cout << k << "B" << endl;
  • 데블스캠프2005/RUR_PLE/조현태 . . . . 3 matches
         소트 함수명은 sort()입니다.
         def move_endof_sub():
         def move_endof():
  • 데블스캠프2005/월요일/번지점프를했다 . . . . 3 matches
          self.floors.append(Floor(name, buildingName))
          rooms.append(Room(name))
          self.roomGrid.append(rooms)
  • 데블스캠프2006/월요일/연습문제/for/윤성준 . . . . 3 matches
          cout << endl;
          cout << endl;
          cout << endl;
  • 데블스캠프2006/월요일/연습문제/for/이장길 . . . . 3 matches
          cout<<endl;
          cout<<endl;
          cout<<endl;
  • 데블스캠프2006/월요일/연습문제/for/임다찬 . . . . 3 matches
          cout << endl;
          cout << endl;
          cout << factorial(number) << endl;
  • 데블스캠프2006/화요일/pointer/문제3/이장길 . . . . 3 matches
          cout <<endl;
          cout <<endl;
          cout <<endl;
  • 데블스캠프2006/화요일/pointer/문제4/김준석 . . . . 3 matches
          cout << lengh << endl;
          if(reverse(a,lengh)) cout << a << "는 팰린드롬입니다" << endl;
          else cout << a << "는 팰린드롬이 아닙니다" << endl;
  • 데블스캠프2006/화요일/pointer/문제4/이장길 . . . . 3 matches
          cout <<reverse << endl;
          cout << "false" << endl;
          cout << " true " <<endl;
  • 데블스캠프2006/화요일/pointer/문제4/정승희 . . . . 3 matches
          cout<< b <<endl;
          cout<<"T"<<endl;
          cout<<"F"<<endl;
  • 데블스캠프2010/다섯째날/ObjectCraft/미션2/서민관 . . . . 3 matches
          cout << z1->number << "이 " << z2->number << "에게 데미지 " << z1->atk << "를 입혀 HP가 " << z2->HP << "가 되었다." << endl;
          cout << z1->number << "이 죽었습니다." << endl;
          cout << z2->number << "가 죽었습니다." << endl;
  • 데블스캠프2011/넷째날/루비/김준석 . . . . 3 matches
          end
          end
         end
  • 데블스캠프2011/넷째날/루비/서민관 . . . . 3 matches
          end
          end
         end
  • 만년달력/재니 . . . . 3 matches
          cout << "SUN\tMON\tTUE\tWED\tTHU\tFRI\tSAT" << endl;
          cout << endl;
          cout << endl;
  • 미로찾기/상욱&인수 . . . . 3 matches
          public static int END = 2;
          public boolean isEndPoint(Point point) {
          return getBoardSymbol(point) == END;
          while( !board.isEndPoint( getLastPoint() ) )
         public class MazeTestCase extends TestCase {
          public void testEnd() {
         public class ComplexMazeTestCase extends TestCase {
         public class MazeFrame extends JApplet {
  • 벡터/권정욱 . . . . 3 matches
          sort(vec.begin(), vec.end(), compare);
          for(i = vec.begin(); i != vec.end(); i++)
          cout << (*i).name << "의 성적은 : " << (*i).score << endl;
  • 벡터/김수진 . . . . 3 matches
          sort(vec.begin(),vec.end(),compare);
          for(i=vec.begin();i!=vec.end();i++)
          cout<<(*i).score<<endl;
  • 벡터/임영동 . . . . 3 matches
          sort(vec.begin(), vec.end(), compare);
          for(vector<student>::iterator i=vec.begin();i!=vec.end();i++)
          cout<<(*i).name<<" "<<(*i).score<<endl;
  • 벡터/조동영 . . . . 3 matches
          sort(vec.begin(),vec.end(), compare);
          for(i=vec.begin();i!=vec.end();i++)
          cout<<(*i).score<<endl;
  • 새싹교실/2012/새싹교실강사교육/3주차 . . . . 3 matches
          printf("식품명(end를 입력하면 계산합니다.) : ");
          if(strcmp(name, "end") == 0)
         3.1 함수(function)는 뭐고. 왜 생겼는가? 쓰면 좋은 점은? 함수의 범위(Scope)란?
  • 소수구하기 . . . . 3 matches
         static time_t start, end;
          end = clock();
          printf("%f 초n", (double)(end - start) / CLK_TCK);
  • 소수구하기/zennith . . . . 3 matches
          time_t start, end;
          end = clock();
          printf("\n%f\n", (double)(end - start) / CLK_TCK);
  • 숫자야구/곽세환 . . . . 3 matches
          cout << endl;
          cout << strike << "S" << ball << "B" << endl;
          cout << "OUT" << endl;
  • 숫자야구/문원명 . . . . 3 matches
          cout << ans[0] << "\t" << ans[1] << "\t" << ans[2] << endl << endl;
          cout << "strike = " << strike << "\t ball = " << ball << endl;
  • 스택/aekae . . . . 3 matches
          cout << arr[i] << "추가" << endl;
          cout << arr[--i] << "를 삭제합니다" << endl;
          cout << arr[j] << endl;
  • 안윤호의IT인물열전 . . . . 3 matches
         [http://www.zdnet.co.kr/biztech/hwsw/biztrend/article.jsp?id=52632 '스톨만의 이의있습니다']
         [http://www.zdnet.co.kr/biztech/hwsw/biztrend/article.jsp?id=51851 피터드러커가 말하는 '지식사회']
         [http://www.zdnet.co.kr/biztech/hwsw/biztrend/article.jsp?id=51170 데이터스모그와 오버클러킹]
  • 알고리즘8주숙제/문보창 . . . . 3 matches
          cout << "\n총 cost : " << sum << endl;
          sort(indata.begin(),indata.end(),Data());
          sort(indata.begin(),indata.end(),compare);
  • 압축알고리즘/수진,재동 . . . . 3 matches
          cout << endl;
          cout << endl;
          cout << endl;
  • 양아석 . . . . 3 matches
         repeat(function,num)
          function
         if condition:function
  • 오목/인수 . . . . 3 matches
         public class OmokFrame extends JFrame {
         public class OmokTestCase extends TestCase {
         public class OmokUITestCase extends TestCase {
  • 작은자바이야기 . . . . 3 matches
          * '''D'''IP (Dependency inversion principle)
          * Maven - 의존성(dependency)을 관리해 주는 툴. pom.xml에 프로젝트의 의존성 관련 정보를 적으면 저장소(repository)에서 관련 라이브러리 파일들을 받아서 빌드에 포함시켜 준다.
          * resolve dependencies from workspace projects
  • 장용운/템플릿 . . . . 3 matches
         using std::endl;
          cout<<multiply(4,5)<<endl;
          cout<<multiply(subtract(5,3),subtract(3,5))<<endl;
  • 조금더빠른형변환사용 . . . . 3 matches
         #ifdef __BIGENDIAN__
         #endif
         #endif
         #ifdef __BIGENDIAN__
         #endif
  • 졸업논문/본론 . . . . 3 matches
         웹 애플리케이션 개발자가 가장 많이 쓰는 기능은 SQL을 이용하여 데이터베이스 내용을 삽입, 삭제, 수정, 조회하는 것이다. 그 중에도 데이터를 조회하는 SQL문은 다양한 구조를 가진다. 기본 구조는 select from 이다. 여기서 from절에 테이블이 여러 번 나오는 경우 조인 연산을 수행한다. 조인 연산은 다른 테이블 또는 같은 테이블끼리 가능하다. select from where문을 사용하면 where절에 있는 조건을 만족하는 데이터만 조회한다. aggregate function을 사용하면 원하는 결과를 좀더 쉽게 얻을 수 있다. 이에는 개수(count), 합계(sum), 최소(min), 최대(max), 평균(avg)이 있다. aggregate function에 group by문을 사용하면 그룹 단위로 결과를 얻는다. group by절에는 having을 이용해 조건을 제한할 수 있다. 또한 순서를 지정하는 order by문과 집합 연산인 union, intersect, except 등이 있다. where절 이하에 다시 SQL문이 나타나는 경우를 중첩질의라고 한다. 중첩 질의를 사용할 때는 특별히 (not) exist, (not) unique와 같은 구문을 사용할 수 있다.
         [django/AggregateFunction]
         레코드를 검색할 때는 기본적으로 간단한 질의를 처리할 수 있는 함수들을 제공한다. 앞서 살펴본 바와 같이 직접 관계를 가지는 테이블 사이에 조인 연산은 Model클래스의 메소드를 이용해서 추상화되어 있다. 하지만 그 밖인 경우에는 직접 SQL문을 작성하여 데이터를 얻어와야 하기 때문에 django를 사용하더라도 큰 이점이 없다. 또한 추상화된 Model클래스의 메소드는 기본적으로 모든 레코드 속성을 읽어오기 때문에 시간, 공간 측면에서 비효율적일 수 있다. 마지막으로 SQL의 aggregate function등을 대부분 추상화하지 않았기 때문에, 이 역시 SQL문을 작성해야 하는 번거로움이 있다.
  • 주민등록번호확인하기/김영록 . . . . 3 matches
          cout << "주민등록번호를 '-'없이 입력해주세요" << endl;
          cout << "대한민국 국민이네요~ ^^ 안녕하세요!" << endl;
          cout << "혹시 간첩???? -_-;; " << endl;
  • 중위수구하기/문보창 . . . . 3 matches
          public void sortElement(int start, int end)
          for (int i = start; i < end - 1; i++)
          for (int j = i + 1; j < end; j++)
  • 큐/aekae . . . . 3 matches
          cout << arr[i] << "추가" << endl;
          cout << arr[k] << "를 삭제합니다" << endl;
          cout << arr[j] << endl;
  • 피보나치/김홍선 . . . . 3 matches
          cout << ar[i] << endl;
          cout << "몇번째까지 수를 구할까요?" << endl;
          cout << "숫자를 넣으세요!" << endl;
  • 02_Python . . . . 2 matches
         Global 네임 스페이스 def function(): global x,y; x = 'new'
         global def function(): global x,y; x = 'new'
  • 05학번만의C++Study/숙제제출1/정서 . . . . 2 matches
         using std::endl;
          cout << "섭씨 " << celsius << "도는 화씨 " << fahrenheit << "도 입니다" << endl ;
  • 05학번만의C++Study/숙제제출2/허아영 . . . . 2 matches
          cout << str << endl;
          cout << str << endl;
  • 05학번만의C++Study/숙제제출4/최경현 . . . . 2 matches
          cout << "클래스가 생성 되었습니다." << endl ;
          cout << m_number << "를 가진 클래스가 파괴 되었습니다." << endl ;
  • 2002년도ACM문제샘플풀이/문제B . . . . 2 matches
          cout << outputData[i] << endl;
          next_permutation(str.begin(), str.end());
  • 2011년독서모임 . . . . 2 matches
          * [송지원] - [http://www.yes24.com/24/Goods/3685482?Acode=101 Legend] (배철수, 배순탁)
          * 배철수, 배순탁 공저의 Legend라는 책을 읽었습니다. 세계 팝 역사에 있어서 희대의 명반이라 불리우는 앨범 100장에 대한 소개와, 배철수의 '음악캠프'를 빛내 주었던 저명한 아티스트들과의 인터뷰, 그리고 최장수 라디오 프로그램과 최장수 DJ를 보유한 음악캠프의 지금까지의 계보 등을 볼 수 있었습니다. 그간 아는 음악만 골라 듣고 막연히 유명 아티스트들의 이름만 알고 그들의 음악도, 인생도 제대로 알지 못했던, 하지만 음악을 좋아하는 저로서 꽤나 몰입하면서 읽을 수 있었던 도서였습니다.
  • 2dInDirect3d/Chapter3 . . . . 2 matches
          만약 D3D를 쓰는 사람에게 "당신은 왜 D3D를 씁니까?" 라고 물으면, 일반적으로 이런 대답이 나온다. Z-Buffer라던지, 모델, 메시, 버텍스 셰이더와 픽셸세이더, 텍스쳐, 그리고 알파 에 대한 이야기를 한다. 이것은 많은 일을 하는 것처럼 보인다. 몇몇을 제외하면 이런 것들은 다음의 커다란 두 목적의 부가적인 것이다. 그 두가지란 Geometry Transformation과 Polygon Rendering이다. 간단히 말해서 D3D의 교묘한 점 처리와 삼각형 그리기라는 것이다. 물론 저것만으로 모두 설명할 수는 없지만, 저 간단한 것을 마음속에 품는다면 혼란스러운 일은 줄어들 것이다.
         Blending weights : 블랜딩 매트릭스
  • 2학기파이선스터디/서버&클라이언트접속프로그램 . . . . 2 matches
          conn.send(daytime)
          serversock.send(user)
  • 3 N+1 Problem/조동영 . . . . 2 matches
          cout << "2개의 값을 입력하시오 단 첫번째것이 더 작은 숫자이어야함" << endl;
          cout << "MAX cycle-length값은 " << CheckCount(num1,num2) << "입니다." << endl;
  • 3DGraphicsFoundation/INSU/SolarSystem . . . . 2 matches
         void RenderScene()
          RenderScene();
  • 3N+1Problem/1002_2 . . . . 2 matches
          end = time.time()
          print "time :", end-start
  • 3N+1Problem/Leonardong . . . . 2 matches
         def getMaxCycleLen(aStart, aEnd):
          if CUTOFF < aEnd - aStart:
          for n in range(aStart, aEnd+1, interval):
          for start, end, expected in tests:
          self.assertEquals(expected, getMaxCycleLen( start, end ) )
  • 3N+1Problem/김회영 . . . . 2 matches
          cout<<"적당한 두 수를 입력하세요 ( 단.n1<n2 )"<<endl;
          cout<<"숫자"<<n1<<"과"<<n2<<"사이의 최대 사이클길이는"<<max<<"입니다."<<endl;
  • 5인용C++스터디/에디트박스와콤보박스 . . . . 2 matches
         //Generated message map functions
          세 번째로 메시지 핸들러 함수 OnChangeEdit1 함수를 작성한다. 함수의 본체 코드는 물론이고 함수명까지 직접 입력해 주어야 한다. 이 함수는 에디트 컨트롤의 문자열을 읽어 들이는 함수이다.
  • 5인용C++스터디/타이머보충 . . . . 2 matches
         #endif // _AFX_NO_AFXCMN_SUPPORT
         END_MESSAGE_MAP()
         // Generated message map functions
  • 8queen/강희경 . . . . 2 matches
          cout << endl;
          cout << row <<","<< col <<endl;
  • ACM_ICPC . . . . 2 matches
          * [http://acm.kaist.ac.kr/2009/rank/new_summary_full.html 2009년 스탠딩] - No attending
          * [http://acm.kaist.ac.kr/phpBB3/viewtopic.php?f=7&t=129 2010년 스탠딩] - No attending
  • ATmega163 . . . . 2 matches
         ###### dependecies, add any dependencies you need here ###################
  • A_Multiplication_Game/곽병학 . . . . 2 matches
          cout<<"Stan wins."<<endl;
          cout<<"Ollie wins."<<endl;
  • AdventuresInMoving:PartIV/김상섭 . . . . 2 matches
          cout << cost << endl;
          cout << endl;
  • AndOnAChessBoard/허준수 . . . . 2 matches
          cout << line << " " << 2*line - i <<endl;
          cout << i << " " << line <<endl;
  • Ant/BuildTemplateExample . . . . 2 matches
          <target name="compile" depends="init">
          <target name="dist" depends="compile">
  • Ant/TaskOne . . . . 2 matches
          <target name="compile" depends="init">
          <target name="dist" depends="compile">
  • AntOnAChessboard/김상섭 . . . . 2 matches
          cout << x << " " << y << endl;
          cout << y << " " << x << endl;
  • AntTask . . . . 2 matches
          <target name="compile" depends="init">
          <target name="dist" depends="compile">
  • BabyStepsSafely . . . . 2 matches
         The code that is to be refactored has existed in the system for awhile. It has undergone a couple of transformations. Initially it returned an array of int variables that are the prime numbers. When the new collection library was introduced in Java2 the interface was changed to return a List of Integer objects. Going forward the method that returns a List is the preferred method, so the method that returns an array has been marked as being deprecated for the last couple of releases. During this release the array member function will be removed. Listing1, "Class GeneratePrimes," contains the source code for both methods.
         public class TestGeneratePrimes extends TestCase
  • Basic알고리즘/팰린드롬/조현태 . . . . 2 matches
          cout << "true" << endl;
          cout << "false" << endl;
  • BeeMaja/하기웅 . . . . 2 matches
          cout << row << " " << col<<endl;
          cout << row << " " << col <<endl;
  • BlogLines . . . . 2 matches
         써본 경험에 의하면... publication 으로 개인용 블로그정도에다가 공개하기엔 쓸만하다. 그냥 사용자의 관심사를 알 수 있을 테니까? 성능이나 기능으로 보면 한참멀었다. 단순한 reader 이외의 용도로 쓸만하지 못하고, web interface 라서 platform-independable 하다는 것 이외의 장점을 찾아보기 힘들다. - [eternalbleu]
         [1002] 의 경우는 FireFox + Bloglines 조합을 즐겨쓴다. (이전에는 FireFox + Sage 조합) 좋은 점으로는, 쓰는 패턴은, 마음에 드는 피드들이 있으면 일단 주욱 탭으로 열어놓은뒤, 나중에 탭들만 주욱 본다. 그리고, 자주 쓰진 않지만, Recommendations 기능과 Subscribe Bookmarklet, feed 공유 기능. 그리고, 위의 기능들을 다 무시함에도 불구하고 기본적으로 쓸모있는것 : 웹(서버사이드)라는 점. 다른 컴퓨터에서 작업할때 피드 리스트 싱크해야 하거나 할 필요가 없다는 것은 큰 장점이라 생각. --[1002]
  • BlueZ . . . . 2 matches
          // send a message
          // send a message
  • Button/진영 . . . . 2 matches
         class ButtonPanel extends JPanel
         class ButtonFrame extends JFrame
  • C++/SmartPointer . . . . 2 matches
         #endif
          이런걸 안써도 되어서 Python이 재미있는 것일지도. (하지만 Extending 쪽에서는 결국 써야 하는.. 흑) --[1002]
  • CSP . . . . 2 matches
          threads.append(threading.Thread(target=each.run))
          l = sock.send(s)
  • CToAssembly . . . . 2 matches
         감싸인 함수(nested function)는 다른 함수 ("감싸는 함수(enclosing function") 안에서 정의되며, 다음과 같다:
  • ChocolateChipCookies/허준수 . . . . 2 matches
          cout << max_num <<endl;
          cout << endl;
  • Class로 계산기 짜기 . . . . 2 matches
          cout << "입력이 잘못되었습니다." << endl;
          void output(Memory * memory) { cout << memory->getResultNumber() << endl;}
  • CodeRace/20060105 . . . . 2 matches
         end. -> end
  • ComputerGraphicsClass/Exam2004_2 . . . . 2 matches
         === Ploygon Rendering Methods ===
         === Non-Photorealistic Rendering ===
  • ContestScoreBoard/문보창 . . . . 2 matches
          cout << endl;
          cout << rankTeam[i] << " " << team[rankTeam[i]].numberSuccessProblem << " " << team[rankTeam[i]].penalty << endl;
  • ContestScoreBoard/차영권 . . . . 2 matches
          cout << endl;
          << team[bestTeam].timePenalty << endl;
  • ConvertAppIntoApplet/진영 . . . . 2 matches
         class NotHelloWorldPanel extends JPanel
         public class NotHelloWorldApplet extends JApplet
  • CppUnit . . . . 2 matches
          CPPUNIT_TEST_SUITE_END(); // TestSuite 의 끝. 이로서 해당 Test Case 에 자동으로 suite 메소드가 만들어진다.
         #endif
          CPPUNIT_TEST_SUITE_END();
         #endif
          CPPUNIT_TEST_SUITE_END();
  • CubicSpline/1002/LuDecomposition.py . . . . 2 matches
          row.append(0.0)
          matrix.append(row)
  • CubicSpline/1002/TriDiagonal.py . . . . 2 matches
          emptyRow.append(0.0)
          emptyMatrix.append(emptyRow)
  • CxxTest . . . . 2 matches
          if fileName.endswith("Test"):
          testFiles.append(eachFile)
  • DPSCChapter2 . . . . 2 matches
          4. Automatic Adjudication. The system determines whether a claim can be paid and how much to pay if and only if there are no inconsistencies between key data items associated with the claim. If there are inconsistencies, the system "pends" the claim for processing by the appropriate claims adjudicator.
          5. Adjudication of Pended Claims. The adjudicator can access the system for a claim history or a representation of the original claim. The adjudicator either approves the claim for payment, specifying the proper amount to pay, or generates correspondence denying the claim.
  • DependencyWalker . . . . 2 matches
         http://www.dependencywalker.com/
         http://www.dependencywalker.com/snapshot.png
  • DermubaTriangle/하기웅 . . . . 2 matches
          cout << getDistance(first, second)<< endl;
          cout << getDistance(second, first)<< endl;
  • DevelopmentinWindows . . . . 2 matches
          * 함수명
          * 윈도우를 만드는 함수는 CreateWindow, 메시지를 보내는 함수는 SendMessage
  • Direct3D . . . . 2 matches
         CMyD3DApplication->Render() : 실제 렌더링을 수행하는 부분
         CMyD3DApplication->RenderText() : 화면에 글씨를 렌더링하는 부분
  • Doublets/문보창 . . . . 2 matches
          cout << endl;
          cout << dou->next->data << endl;
  • EightQueenProblem/Leonardong . . . . 2 matches
          self.board.append([0]*aSize)
          self.positions.append((aRow, aCol))
  • EightQueenProblem/강석천 . . . . 2 matches
          ## if all queen pass the function 'IsAttackableOthers'
          UnAttackablePositionList.append ((i,Level))
  • EightQueenProblem/강인수 . . . . 2 matches
          next_permutation(ar.begin(), ar.end());
          cout << endl;
  • EightQueenProblem/김준엽 . . . . 2 matches
          std::cout << std::endl;
          std::cout << std::endl;
  • EightQueenProblem/정수민 . . . . 2 matches
         #endif
          cout << endl;
  • EightQueenProblem2/이강성 . . . . 2 matches
          self.queens.append( (x, y) )
          self.solutions.append(self.queens[:])
  • EnglishSpeaking/TheSimpsons/S01E05 . . . . 2 matches
         Friend : Nelson's at the Elm Street Video Arcade.
         Friend : Nelson's at the arcade, General.
  • ErdosNumbers/문보창 . . . . 2 matches
          cout << "Scenario " << i + 1 << endl;
          cout << result << endl;
  • EuclidProblem/곽세환 . . . . 2 matches
          cout << x << " " << y << " " << gcd << endl;
          cout << x << " " << y << " " << g << endl;
  • Expat . . . . 2 matches
         To use the Expat library, programs first register handler functions with Expat. When Expat parses an XML document, it calls the registered handlers as it finds relevant tokens in the input stream. These tokens and their associated handler calls are called events. Typically, programs register handler functions for XML element start or stop events and character events. Expat provides facilities for more sophisticated event handling such as XML Namespace declarations, processing instructions and DTD events.
  • Fmt . . . . 2 matches
         end of the previous line or at the beginning of the new line.
         If a new line is started, there will be no trailing blanks at the end of
  • Functor . . . . 2 matches
         [BuildingParserWithJava]를 보다가 12장에서 처음 접한 단어. FunctionObject를 부르는 말이다.
         A function object, often called a functor, is a computer programming construct allowing an object to be invoked or called as if it were an ordinary function, usually with the same syntax. The exact meaning may vary among programming languages. A functor used in this manner in computing bears little relation to the term functor as used in the mathematical field of category theory.
  • GTK+ . . . . 2 matches
         GLib is the low-level core library that forms the basis of GTK+ and GNOME. It provides data structure handling for C, portability wrappers, and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an object system.
         Pango is a library for layout and rendering of text, with an emphasis on internationalization. It forms the core of text and font handling for GTK+-2.0.
  • Graphical Editor/Celfin . . . . 2 matches
          cout << name << endl;
          cout <<endl;
  • HASH구하기/오후근,조재화 . . . . 2 matches
          cout << endl;
          cout << endl;
  • HASH구하기/조동영,이재환,노수민 . . . . 2 matches
          cout << na[0] << " " << na[1] << " " << na[2] << " " << na[3] << " " << na[4] << endl;
          fout << na[0] << " " << na[1] << " " << na[2] << " " << na[3] << " " << na[4] << endl;
  • HardcoreCppStudy/두번째숙제/CharacteristicOfOOP/변준원 . . . . 2 matches
         위에서 살펴볼 캡슐화와 정보 은폐의 이점은 우선 객체 내부의 은폐된 데이타 구조가 변하더라도 주변 객체들에게 영향을 주지 않는다는 것이다. 예로서, 어떤 변수의 구조를 배열(array)구조에서 리스트(list) 구조로 바꾸더라도 프로그램의 다른 부분에 전혀 영향을 미치지 않는다. 또한 어떤 함수에 사용된 알고리즘을 바꾸더라도 signature만 바꾸지 않으면 외부 객체들에게 영향을 주지 않는다. 예를 들어, sorting 함수의 경우 처음 사용된 sequence sorting 알고리즘에서 quick sorting 알고리즘으로 바뀔때 외부에 어떤 영향도 주지 않는다. 이러한 장점을 유지보수 용이성(maintainability) 혹은 확장성(extendability)이라 한다.
         클래스 중에는 인스턴스(instance)를 만들어 낼 목적이 아니라 subclass들의 공통된 특성을 추출하여 묘사하기 위한 클래스가 있는데, 이를 추상 클래스(Abstract class, Virtual class)라 한다. 변수들을 정의하고 함수중 일부는 완전히 구현하지 않고, Signature만을 정의한 것들이 있다. 이들을 추상 함수(Abstract function)라 부르며, 이들은 후에 subclass를 정의할 때에 그 클래스의 목적에 맞게 완전히 구현된다. 이 때 추상 클래스의 한 subclass가 상속받은 모든 추상 함수들을 완전히 구현했을 때, 이를 완전 클래스(Concrete class)라고 부른다. 이 완전 클래스는 인스턴스를 만들어 낼 수 있다.
  • HardcoreCppStudy/첫숙제/Overloading/김아영 . . . . 2 matches
          cout << endl ;
          cout << "총 이동 횟수는 " << total << "입니다. " << endl ;
  • InterMap . . . . 2 matches
         NaverDic http://dic.naver.com/endic?where=dic&mode=srch_ke&query= # Naver 영어 사전
         NaverDic http://dic.naver.com/endic?where=dic&mode=srch_ke&query= # Naver 영어 사전
  • InterWikiIcons . . . . 2 matches
         Any recommendations on what software to use to shrink an image to appropriate size?
          * Freefeel - http://freefeel.org/upload/freefeelz16.png (as recommended at Freefeel:FreeFeelZone 16x15x256) or http://puzzlet.org/imgs/freefeel-16-new.png (16x16x16)
  • Interpreter/Celfin . . . . 2 matches
          cout << process() << endl;
          cout << endl;
  • JSP/FileUpload . . . . 2 matches
          int endPos = ((file.substring(0, boundaryLocation)).getBytes()).length;
          fileOut.write(dataBytes, startPos, (endPos - startPos));
  • JTDStudy/두번째과제/장길 . . . . 2 matches
         public class TestButtonMain extends Applet implements ActionListener{
         public class TestFrame extends Frame implements WindowListener{
  • JUnit/Ecliipse . . . . 2 matches
         public class Ch03_01Test extends TestCase {
         public class Ch03_01Test extends TestCase {
  • JavaStudy2004/오버로딩과오버라이딩 . . . . 2 matches
          함수를 재정의 할 때는 기반 클래스에 만들어져 있는 함수와 파생 클래스에서 재정의한 함수의 함수명과 매개변수의 타입이 완전히 같아서 서로 구별할 수 없어야 한다. 만약, 재정의 하려고 함수를 만들었는데 이것이 기반 클래스에 있는 함수와 매개변수의 타입이 조금이라도 다르면, 이것은 재정의가 아니라 오버로딩으로 간주된다.
          오버로딩이란 하나의 함수명에 비슷한 기능을 하면서 넘겨 받는 매개변수가 서로 다른 함수를 두개 이상 정의하는 것을 말한다.
  • JavaStudy2004/조동영 . . . . 2 matches
         public class zealot extends Unit {
         public class dragoon extends Unit {
  • JollyJumpers/남훈 . . . . 2 matches
          inted.append(int(atom))
          lines.append(inted[1:])
  • JollyJumpers/임인택3 . . . . 2 matches
          end.
          end.
  • KnightTour/재니 . . . . 2 matches
         #endif // _MSC_VER > 1000
         #endif // !defined(AFX_KNIGHT_H__B5234B12_3582_4CB8_8253_6ADFBE7B5E68__INCLUDED_)
  • LIB_4 . . . . 2 matches
         #endif
         #endif
  • LightMoreLight/허아영 . . . . 2 matches
          cout << "no" << endl;
          cout << "yes" << endl;
  • LoveCalculator/zyint . . . . 2 matches
          for(vector<string>::iterator i=instr.begin();i<instr.end();++i)
          cout << (digit1 > digit2? digit2/digit1 : digit1/digit2)*100 << " %" << endl;
  • MagicSquare/재동 . . . . 2 matches
          self.board.append([])
          self.board[i].append(0)
  • MagicSquare/정훈 . . . . 2 matches
          cout << endl << endl;
  • Map/임영동 . . . . 2 matches
          for(it=decoder.begin();it!=decoder.end();++it)
          for(string::iterator i=input.begin();i!=input.end();i++)
  • Map연습문제/박능규 . . . . 2 matches
          cout << endl;
          cout << endl;
  • Map연습문제/임민수 . . . . 2 matches
          for(vector< map<char, char> >::iterator j = vector_map.begin(); j<vector_map.end(); j++)
          cout << endl;
  • Map연습문제/임영동 . . . . 2 matches
          for(it=decoder.begin();it!=decoder.end();++it)
          for(string::iterator i=input.begin();i!=input.end();i++)
  • Marbles/문보창 . . . . 2 matches
          cout << marble.box1 << " " << marble.box2 << endl;
          cout << marble.box2 << " " << marble.box1 << endl;
  • Marbles/신재동 . . . . 2 matches
          cout << m1[i] << " " << m2[i] << endl;
          cout << "failed" << endl;
  • MineSweeper/곽세환 . . . . 2 matches
          cout << endl;
          cout << endl;
  • MineSweeper/김민경 . . . . 2 matches
          check.append([0 for j in range(size2)])
          data.append(temp)
  • MineSweeper/김상섭 . . . . 2 matches
          cout << endl;
          cout << endl;
  • MineSweeper/문보창 . . . . 2 matches
          cout << endl;
          cout << endl;
  • MoinMoinFaq . . . . 2 matches
         create a blank page. Any page that ends in the word Template will
         etc.), you just define a page that ends in Template, and when creating
  • MoniWikiPlugins . . . . 2 matches
          * Calendar
          * sendping
  • Monocycle/김상섭 . . . . 2 matches
          cout << endl;
          cout << length(M,N) << endl;;
  • MoreMFC . . . . 2 matches
          EndPaint(hWnd, &ps);
         // CMyApp member functions
         // CMainWindow message map and member functions
         END_MESSAGE_MAP ()
  • NumberBaseballGame/영동 . . . . 2 matches
          cout<<strike<<" strike~~~!"<<endl;
          cout<<ball<<" ball~~~!"<<endl;
  • OOP . . . . 2 matches
          * [Member function]
          * [Virtual functions]
  • Omok/재니 . . . . 2 matches
          cout << endl;
          cout << endl;
          void showEndMsg(){
          bd.showEndMsg();
  • OurMajorLangIsCAndCPlusPlus/string.h . . . . 2 matches
         == 함수 (Functions) ==
         || char * strcat(char * strDestination, const char * strSource) || Append a string. ||
         || char * strncat(char * strDestination, const char * strSource, size_t count) || Append characters of a string. ||
  • PairProgramming토론 . . . . 2 matches
         Strengthening the Case for Pair-Programming(Laurie Williams, ...)만 읽어보고 쓰는 글입니다. 위에 있는 왕도사와 왕초보 사이에서 Pair-Programming을 하는 경우 생각만큼 좋은 성과를 거둘 수 없을 것이라고 생각합니다. 문서에서는 Pair-Programming에서 가장 중요한 것을 pair-analysis와 pair-design이라고 보고 말하고 있습니다.(좀 큰 프로젝트를 해 본 사람이라면 당연히 가장 중요하다고 느끼실 수 있을 것입니다.) 물론 pair-implementation도 중요하다고는 말하고 있으나 앞서 언급한 두가지에 비하면 택도 없지요. 그러니 왕도사와 왕초보와의 결합은 아주 미미한 수준의 이점만 있을뿐 실제 Pair-Programming이 주창하는 Performance는 낼 수 없다고 생각됩니다. 더군다가 이 경우는 왕도사의 Performance에 영향을 주어 Time dependent job의 경우 오히려 손실을 가져오지 않을까 생각이 됩니다. Performance보다는 왕초보를 왕도사로 만들기 위한 목적이라면 왕초보와 왕도사와의 Pair-Programming이 약간의 도움이 되기는 할 것 같습니다. 그러나 우리가 현재 하는 방식에 비해서 얼마나 효율이 있을까는 제고해봐야 할 것 같습니다. - 김수영
         ''그러니 왕도사와 왕초보와의 결합은 아주 미미한 수준의 이점만 있을뿐 실제 Pair-Programming이 주창하는 Performance는 낼 수 없다고 생각됩니다. 더군다가 이 경우는 왕도사의 Performance에 영향을 주어 Time dependent job의 경우 오히려 손실을 가져오지 않을까 생각이 됩니다.''
  • PrimaryArithmetic/sun . . . . 2 matches
         public class NumberGeneratorTest extends TestCase {
         public class PrimaryArithmeticTest extends TestCase {
  • ProgrammingLanguageClass/Exam2002_2 . . . . 2 matches
          * functional side effects 에 대해 정의하시오
          * (functional side effects 와 관계된 소스) 다음 식의 실제 값을 쓰시오.
  • ProgrammingWithInterface . . . . 2 matches
         class Stack extends ArrayList {
         class MonitorableStack extends Stack {
  • ProjectGaia/기록 . . . . 2 matches
          * Extendible Hash 병합, 분할 구현
          * 12/9 : Pc실 Key Sequential File 초안 , Extendible Hash 초안 구현
  • ProjectGaia/참고사이트 . . . . 2 matches
          *[http://www.istis.unomaha.edu/isqa/haworth/isqa3300/fs009.htm Extendible Hashing] in English, 개념.코볼 구현소스
          *[http://perso.enst.fr/~saglio/bdas/EPFL0525/sld009.htm Extendible Hashing]
  • ProjectPrometheus/CollaborativeFiltering . . . . 2 matches
         일단은 본격적인 CF로 가는 것보다 아마존의 "Customers who bought this book also bought"식으로 좀 더 간단한 것을 하는 것이 좋을 듯 하다. 이것은 꼭 Clustering이 필요없다 -- Clustering이 효과를 발휘하려면 상당량의 데이타(NoSmok:CriticalMass )가 쌓여야 하는데, 쉬운 일이 아닐 것이다. 다음은 JuNe이 생각한 간단한 알고리즘. 일종의 Item-to-Item Correlation Recommendation.
          *When a user does a specific well-defined action, bookPref is updated as "prefCoef*userPref+bookPref" and resorted. (some books at the end of the list might be eliminated for performance reasons)
  • ProjectPrometheus/CookBook . . . . 2 matches
         public class HelloWorldApp extends HttpServlet {
         ["cookieSend.py"]
  • ProjectPrometheus/Estimation . . . . 2 matches
         Recomendation System 2
          * Recommendation
  • ProjectPrometheus/MappingObjectToRDB . . . . 2 matches
          For Recommendation System (Read Book, point )
          For Recommendation System ( Related Book Point )
  • ProjectVirush/Prototype . . . . 2 matches
          if( send(server_sock, msg, sizeof(msg), 0) == -1 )
          fprintf(stderr, "send error");
  • Random Walk2/곽세환 . . . . 2 matches
          fout << cnt << endl;
          fout << endl;
  • RandomWalk/재니 . . . . 2 matches
          cout << endl;
          cout << endl;
  • RandomWalk2/ClassPrototype . . . . 2 matches
          cout <<endl;
          cout << "move count : " << m_nMoveCount << endl;
  • RandomWalk2/상규 . . . . 2 matches
          cout << count << endl;
          cout << endl;
  • Refactoring/MakingMethodCallsSimpler . . . . 2 matches
         You have a method that runs different code depending on the values of an enumerated parameter.
          ''Send the whole object instead''
  • RelationalDatabaseManagementSystem . . . . 2 matches
         The basic principle of the relational model is the Information Principle: all information is represented by data values in relations. Thus, the relvars are not related to each other at design time: rather, designers use the same domain in several relvars, and if one attribute is dependent on another, this dependency is enforced through referential integrity.
  • ReverseAndAdd/김회영 . . . . 2 matches
          cout<<endl;
          cout<<calCount[i]<<" "<<number[i]<<endl;
  • Ruby/2011년스터디 . . . . 2 matches
          * 루비는 지역변수 기반. 모든 변수는 def ~end등의 블록 안에서 유효범위를 가진다. 전역변수는 $연산자로 선언할 수 있음
          * end로 끝나는 부분은 변수 scope랑은 별 상관없다
  • RubyLanguage/ExceptionHandling . . . . 2 matches
          end
         = Exception Extend =
  • STL/Miscellaneous . . . . 2 matches
         c.erase( remove(c.begin(), c.end(), 1982), c.end() ); // 이건 내부적으로 어떻게 돌아가는 걸까. 찾아봐야겠군.
         ifstream_iterator<int> dataEnd;
         list<int> data(dataBegin, dataEnd); // 요런식으로 써주자.
  • STL/search . . . . 2 matches
          sort(v.begin(), v.end());
          if(binary_search(v.begin(), v.end(), 85))
  • ScheduledWalk/권정욱 . . . . 2 matches
          cout << endl;
          cout << endl;
  • ScheduledWalk/욱주&민수 . . . . 2 matches
          cout << endl;
          cout<<endl;
  • ScheduledWalk/재니&영동 . . . . 2 matches
          cout << endl;
          cout << "총 이동횟수 : " << count - 1 << endl;
  • ScheduledWalk/창섭&상규 . . . . 2 matches
          cout << "움직인 횟수: " << board->TraceCount-1 <<endl;
          cout << endl;
  • SeminarHowToProgramIt . . . . 2 matches
          * TestDrivenDevelopment -- 프로그래밍의 코페르니쿠스적 전환
         === 프로그램 (pun intended) ===
         ||TestDrivenDevelopment || 5 ||
         참관자 최태호 윤정수 소스코드: ["VendingMachine_참관자"]
  • ServerBackup . . . . 2 matches
          f = open(filename,'rb') # file to send
          s.storbinary('STOR %s'%filename, f) # Send the file
  • ShellSort/문보창 . . . . 2 matches
         inline void show_turtle(const char turt[]) { cout << turt << endl; };
          cout << endl;
  • StackAndQueue/손동일 . . . . 2 matches
          cout << " 1 : 입력"<<"\t"<<" 2 : 빼기"<<"\t"<< " 3 : 보여주기"<<endl;
          cout << "숫자를 입력하세요.. "<< endl;
  • StacksOfFlapjacks/문보창 . . . . 2 matches
          cout << 0 << endl;
          cout << endl;
  • SuperMarket/재니 . . . . 2 matches
          cout << "남은 돈 : " << money << endl;
          cout << endl;
  • TFP예제/WikiPageGather . . . . 2 matches
          pagenamelist.append (pagename[0])
          pagenamelist.append (realname)
  • TellVsAsk . . . . 2 matches
         That is, you should endeavor to tell objects what you want them to do; do not ask them questions about their state,
         switch (person.gender) {
         (ResponsibilityDrivenDesign) 그러한 경우, 당신은 당신에게 객체의 상태를 알리도록 질의문을 작성하는 대신 (주로 getter 들에 해당되리라 생각), class 들이 실행할 수 있는 '''command''' 들을 자연스럽게 발전시켜 나갈 것이다.
  • TermProject/재니 . . . . 2 matches
          else cout << endl << (select == 1 ? "국어" : (select == 2 ? "영어" : "수학")) << " 목록n"
          << "t " << sort_stats[i][select] << endl; // 성적 출력
  • TestDrivenDevelopmentByExample . . . . 2 matches
          * http://groups.yahoo.com/group/testdrivendevelopment/ - 야후 그룹.
          * http://groups.yahoo.com/group/testdrivendevelopment/files/ - TestDrivenDevelopmentByExample 문서. (아직 미완성중. 계속 업데이트 되고 있습니다. 최신 버전을 받으세요.)
         TestDrivenDevelopment 에 관심있는사람은 필독문서이겠죠? --["1002"]
         See Also Moa:TestDrivenDevelopmentByExample,
  • TextAnimation/권정욱 . . . . 2 matches
          cout<<endl;
          cout<<endl;
  • TheJavaMan/테트리스 . . . . 2 matches
         public class Tetris extends Applet implements Runnable {
          class MyKeyHandler extends KeyAdapter
  • TheKnightsOfTheRoundTable/김상섭 . . . . 2 matches
          cout << "The radius of the round table is: 0.000" << endl;
          cout << "The radius of the round table is: " << temp << endl;
  • TheKnightsOfTheRoundTable/하기웅 . . . . 2 matches
          cout << "The radius of the round table is: 0.000"<<endl;
          cout << "The radius of the round table is: " << 1.0*sqrt(halfSum*(halfSum-a)*(halfSum-b)*(halfSum-c))/halfSum << endl;
  • TheKnightsOfTheRoundTable/허준수 . . . . 2 matches
          cout << "The radius of the round table is: 0.000" <<endl;
          << a*b*sqrt(1-pow((a*a + b*b - c*c)/ (2*a*b), 2)) / (a+b+c) << endl;
  • TheLagestSmallestBox/하기웅 . . . . 2 matches
          cout << (length+width - sqrt(length*length - length*width + width*width))/6.0 << " 0.000 " << length/2.0 << endl;
          cout << (length+width - sqrt(length*length - length*width + width*width))/6.0 << " 0.000 " << width/2.0 << endl;
  • ThePriestMathematician/문보창 . . . . 2 matches
          cout << 0 << endl;
          cout << result << endl;
  • TheTrip/김상섭 . . . . 2 matches
          num = int(accumulate(test.begin(),test.end(),0.0)/test.size()*1000);
          cout << "$" << max << endl;
  • Thread의우리말 . . . . 2 matches
         [Thread]. 내가 처음으로 [ZeroWiki] 접근하게 되었을때 가장 궁금했던 것중 하나이다. 도대체 [Thread]가 무었인가?? 수다가 달리는장소?? 의미가 불분명 했고 사실 가벼운 수다는 DeleteMe라는 방법을 통해서 이루어지고 있었다. 토론이 펼쳐지는 위치?? 어떤페이지의 Thread의 의미를 사전([http://endic.naver.com/endic.php?docid=121566 네이버사전])에서 찾아보라고 하길래 찾아보았더니 실에꿰다, 실을꿰다, 뒤섞어짜다 이런 의미가 있었다. 차라리 이런 말이었으면 내가 혼란스러워해 하지는 않았을 것이다. [부드러운위키만들기]의 한가지 방법으로 좀더 직관적인 우리말 단어를 사용해 보는것은 어떨까?? - [이승한]
  • TopicMap . . . . 2 matches
         Could you provide a more involved example markup and its corresponding rendering? As far as I understand it, you want to serialize a wiki, correct? You should ask yourself what you want to do with circular references. You could either disallow them or limit the recursion. What does "map" do? See also wiki:MeatBall:TransClusion''''''. -- SunirShah
          1. Appendix
  • Trace . . . . 2 matches
         #endif
          va_end(args);
  • TugOfWar/문보창 . . . . 2 matches
          cout << tugwar[i].left << " " << tugwar[i].right << endl;
          cout << endl;
  • UglyNumbers/곽세환 . . . . 2 matches
          cout << "The 1500'th ugly number is " << temp << "." << endl;
          cout << num << endl;
  • ViImproved/설명서 . . . . 2 matches
         ! send next to commend, replace output(eg !) R 삽입모드가 남을때까지 교체 (즉 ESC를 누를 때까지) :set number 라인번호 붙이기
  • WeightsAndMeasures/신재동 . . . . 2 matches
          turtles.append(Turtle(weight, strength))
          pile.append(t)
  • WheresWaldorf/Celfin . . . . 2 matches
          cout <<i+1 <<" " <<j+1 <<endl;
          cout << endl;
  • WinampPlugin을이용한프로그래밍 . . . . 2 matches
         // dsp-functions
         // other functions, needed to get it to work
  • XOR삼각형/임인택 . . . . 2 matches
          newList.append(1)
          newList.append( list[i-1]^list[i] )
  • ZIM/CRCCard . . . . 2 matches
         || 화일 송신 / 수신 요청 & 수락|| FileSender, FileReceiver ||
         |||||| FileSender ||
  • ZPBoard/PHPStudy/기본문법 . . . . 2 matches
         function 함수명(전달인자){
  • ZeroPageServer/SubVersion . . . . 2 matches
          * '''FSFS repository back end is now the default'''
          http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
  • ZeroWiki/Mobile . . . . 2 matches
          * http://framework.zend.com/manual/en/zend.http.html
  • [Lovely]boy^_^/USACO/MixingMilk . . . . 2 matches
          fout << Process(suf, numf, data, numlist) << endl;
          sort(numlist.begin(), numlist.end());
  • [Lovely]boy^_^/USACO/WhatTimeIsIt? . . . . 2 matches
          fout << endl;
          string m(a.begin() + token + 1, a.end());
  • [Lovely]boy^_^/USACO/YourRideIsHere . . . . 2 matches
          for(i = comet.begin() ; i != comet.end() ; ++i)
          for(i = group.begin() ; i != group.end() ; ++i)
  • abced reverse . . . . 2 matches
          cout << str1 << endl;
          cout << str2 << endl;
  • aekae/RandomWalk . . . . 2 matches
          cout << endl;
          cout << endl;
  • biblio.xsl . . . . 2 matches
          <xsl:value-of select="system-property('xsl:vendor')"/>
          (<xsl:value-of select="system-property('xsl:vendor-url')"/>)
  • eXtensibleStylesheetLanguageTransformations . . . . 2 matches
         XSLT was produced as a result of the Extensible Stylesheet Language (XSL) development effort within W3C during 1998–1999, which also produced XSL Formatting Objects (XSL-FO) and the XML Path Language, XPath. The editor of the first version (and in effect the chief designer of the language) was James Clark. The version most widely used today is XSLT 1.0, which was published as a Recommendation by the W3C on 16 November 1999. A greatly expanded version 2.0, under the editorship of Michael Kay, reached the status of a Candidate Recommendation from W3C on 3 November 2005.
  • html5/communicationAPI . . . . 2 matches
          window.onmessage = function(e) {
          window.addEventListener("message", function(e) {
  • html5/web-workers . . . . 2 matches
          onmessage = function(e){
          worker.onmessage = function(e){
  • koi_cha/곽병학 . . . . 2 matches
          sort(vc.begin() +1 , vc.end(), myOp);
          cout<<max<<endl;
  • neocoin/CodeScrap . . . . 2 matches
         copy(vector1.begin(), vector1.end(), out); cout << endl;
  • whiteblue/MagicSquare . . . . 2 matches
          cout << endl;
          cout << endl;
  • 가위바위보/동기 . . . . 2 matches
          cout<<name1<<endl<<name2<<endl;
  • 개인키,공개키/노수민,신소영 . . . . 2 matches
          cout << endl;
          cout << endl;
  • 개인키,공개키/박능규,조재화 . . . . 2 matches
          cout << endl;
          cout<<endl;
  • 개인키,공개키/임영동,김홍선 . . . . 2 matches
          cout << endl;
          cout << endl;
  • 구구단/변준원 . . . . 2 matches
          cout << endl;}
          cout << endl;}
  • 구구단/손동일 . . . . 2 matches
          cout << endl;
          cout << endl;
  • 구조체 파일 입출력 . . . . 2 matches
          cout << endl << "Input age : ";
          cout << endl << "Input phone number : " ;
  • 금고/김상섭 . . . . 2 matches
          cout << table[safe][height] << endl;
          cout << j << endl;
  • 금고/조현태 . . . . 2 matches
          while (accumulate(nodes.begin(), nodes.end(), 0) <= buildingHeight)
          cout << GetMaxTryNumber(buildingHeight, tryNumber) << endl;
  • 김희성 . . . . 2 matches
          recv함수는 send 횟수만큼 끊어 읽지 못한다는 것을 간과하였습니다. 로그인 과정에서 send가 recv보다 빨리 작동하여 스택에 쌓인 후 하나의 메세지처럼 입력되는 것을 방지하기 위해 수신 확인 신호를 받도록 수정하였습니다.
  • 데블스캠프2002/진행상황 . . . . 2 matches
         다른 하나는, 요구사항이 어떻게 제시되느냐가 산출물로서의 프로그램에 큰 영향을 끼친다는 점이다. 요구사항이 어떤 순서로 제시되느냐, 심지어는 어떤 시제로 제시되느냐가 프로그램에 큰 영향을 끼친다. 심리학에서 흥미로운 결과를 찾아냈다. "내일은 한국과 브라질의 경기날입니다. 결과가 어떻게 될까요?"라는 질문과, "어제는 한국과 브라질의 경기가 있었습니다. 결과가 어땠나요?"라는 질문에 대해 사람들의 대답은 큰 차이가 있었다. 후자 경우가 훨씬 더 풍부하고, 자세하며, 구체적인 정보를 끌어냈다. 이 사실은 요구사항에도 적용이 되어서, 요구사항의 내용을 "미래 완료형"이나 "과거형"으로 표현하는 방법(Wiki:FuturePerfectThinking )도 생겼다. "This system will provide a friendly user interface"보다, "This system will have provided a friendly user interface"가 낫다는 이야기다. 어찌되었건, 우리는 요구사항이 표현된 "글" 자체에 종속되고, 많은 영향을 받는다.
  • 데블스캠프2005/FLASH키워드정리 . . . . 2 matches
         function functionName(argument1, argument2...){
  • 데블스캠프2006/CPPFileInput . . . . 2 matches
          // cout << "에이 뿔이다."<<endl;
          cout << endl;
  • 데블스캠프2006/월요일/연습문제/for/이경록 . . . . 2 matches
          cout<<endl;
          cout<<endl;
  • 데블스캠프2006/월요일/연습문제/if-else/김건영 . . . . 2 matches
          cout << "3의 배수" << i << endl;
          cout << "5의 배수" << j << endl;
  • 데블스캠프2006/월요일/연습문제/if-else/김준석 . . . . 2 matches
          if(count%5==0) cout << endl;
          cout << endl;
  • 데블스캠프2006/월요일/연습문제/switch/임다찬 . . . . 2 matches
          cout << (char)(g+i)<< " : " <<grade[i]<<" 명"<<endl;
          cout << "F : " <<grade[4]<<" 명"<<endl;
  • 데블스캠프2006/화요일/pointer/문제1/김준석 . . . . 2 matches
          cout << "a = " << a << " b = " <<b << endl;
          cout << "a = " << a << " b = " <<b << endl;
  • 데블스캠프2006/화요일/pointer/문제1/윤성준 . . . . 2 matches
          cout << a << " " << b << endl;
          cout << a << " " << b << endl;
  • 데블스캠프2006/화요일/pointer/문제1/이송희 . . . . 2 matches
          cout << "a=" << a << endl;
          cout << "b=" << b << endl;
  • 데블스캠프2006/화요일/pointer/문제1/이장길 . . . . 2 matches
          cout << "b = " << b << endl;
          cout << " swap후 b = " << b << endl;
  • 데블스캠프2006/화요일/pointer/문제1/정승희 . . . . 2 matches
          cout << a<<" "<< b<<endl;
          cout <<a<<" "<<b<<endl;
  • 데블스캠프2006/화요일/pointer/문제1/주소영 . . . . 2 matches
          cout << a << "\t " << b << endl;
          cout<<a << "\t" << b<<endl;
  • 데블스캠프2006/화요일/pointer/문제2/김준석 . . . . 2 matches
          cout << lengh << endl;
          cout << a << endl;
  • 데블스캠프2006/화요일/pointer/문제2/윤성준 . . . . 2 matches
          cout << a << endl;
          cout << b << endl;
  • 데블스캠프2006/화요일/pointer/문제2/정승희 . . . . 2 matches
          cout<<a<<endl;
          cout<<b<<endl;
  • 데블스캠프2006/화요일/pointer/문제4/주소영 . . . . 2 matches
          cout <<"F"<<endl;
          cout <<"T"<<endl;
  • 데블스캠프2010/Prolog . . . . 2 matches
         10.블렌드(Blend) 담배를 피우는 사람은 고양이를 기르는 사람 옆 집에 산다.
         15.블렌드(Blend) 담배를 피우는 사람은 생수를 마시는 사람과 이웃이다.
  • 데블스캠프2010/다섯째날/ObjectCraft/미션1/서민관 . . . . 2 matches
          cout << "z2가 죽었습니다." << endl;
          cout << "z1이 z2에게 데미지 " << z1->atk << "를 입혀 HP가 " << z2->HP << "가 되었다." << endl;
  • 데블스캠프2011/다섯째날/PythonNetwork . . . . 2 matches
          if UDPSock.sendto(data, addr):
          print ("Sending message '%s'..." % data)
  • 데블스캠프2011/셋째날/String만들기 . . . . 2 matches
         || endsWith || str.endsWith("ef") == TRUE ||
  • 데블스캠프2011/셋째날/String만들기/김준석 . . . . 2 matches
          if(s->subString(3,2)->equals(*s2)) cout << "꾸엑" <<endl;
          //cout << s->lastIndexOf(*s2) << endl;
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission2/김준석 . . . . 2 matches
          private void myClicked(object sender, EventArgs e)
          private void pushButton_Click(object sender, EventArgs e)
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission2/서영주 . . . . 2 matches
          private void pushButton_Click(object sender, EventArgs e)
          MessageBox.Show(sender.ToString() + "\n" + e.ToString());
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission3/김준석 . . . . 2 matches
          private void pushButton_Click(object sender, EventArgs e)
          private void timer_Tick(object sender, EventArgs e)
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission3/서영주 . . . . 2 matches
         private void timer1_Tick(object sender, EventArgs e)
          //MessageBox.Show(sender.ToString() + "\n" + e.ToString());
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission4/서영주 . . . . 2 matches
         private void timer1_Tick(object sender, EventArgs e)
          //MessageBox.Show(sender.ToString() + "\n" + e.ToString());
  • 데블스캠프2012/둘째날/후기 . . . . 2 matches
          * [김민재] - 저도 그 동안 JavaScript를 Copy & Paste로 이용해 온지라.. JavaScript에 대해서는 깊게 이해해야겠다는 생각을 해 본 적이 없었는데, 이번 기회를 통해 짧지만 여러가지를 알 수 있었습니다. 특히 var abc=function()이 된다는 사실에 매우 놀랐습니다. 웹 프로그래밍을 위해 JavaScript를 열심히 공부해야겠습니다.
          * [서민관] - 전에도 ZP 홈페이지에 올라왔어서 읽어봤었는데, 저런 코드를 짜면 본인도 유지보수가 불가능하지 않은가 싶네요. 그리고 새삼 느낀 거지만 역시 변수명이나 함수명이 프로그래밍에서 참 중요하지 싶습니다.
  • 레밍즈프로젝트/박진하 . . . . 2 matches
          int Append(const CArray& src);
         #endif
  • 만년달력/방선희,장창재 . . . . 2 matches
          cout << endl;
          cout << endl;
  • 만년달력/손동일,aekae . . . . 2 matches
          cout << "일\t월\t화\t수\t목\t금\t토" << endl;
          cout << "-----------------------------------------------------" << endl;
  • 몸짱프로젝트/HanoiProblem . . . . 2 matches
          * Recusive Function Call 사용
          cout << "Steps : " << count << endl;
          cout << x << "->" << y << endl;
  • 몸짱프로젝트/Maze . . . . 2 matches
         #endif
          << ", " << path[i].col << ")" << endl;
  • 문자반대출력/문보창 . . . . 2 matches
          reverse(str.begin(), str.end()); // 문자열을 거꾸로 해주는 STL 함수
          reverse(str.begin(), str.end()); // 문자열을 거꾸로 해주는 STL 함수
  • 반복문자열/김대순 . . . . 2 matches
         변수명, 함수명을 정할 때는 항상 어떤 의미를 나타내는 변수이고, 어떤 일을 수행하는 함수인지를 명확히 나타내는 이름을 쓰세요.
         위와 같이 함수명을 y()로 해버리면 다른 사람이 함수원형만 보고는 뭘 하는 지 잘 모르겠죠? - 도현
  • 벡터/유주영 . . . . 2 matches
          sort(vec.begin(),vec.end(),compare);
          cout << endl;
  • 보드카페 관리 프로그램 . . . . 2 matches
          cout << today->tm_hour << endl;
          cout << today->tm_min << endl;
  • 비밀키/김홍선 . . . . 2 matches
          cout << endl;
          cout << endl;
  • 비밀키/노수민 . . . . 2 matches
          cout << endl;
          cout << endl;
  • 비밀키/조재화 . . . . 2 matches
          cout<<endl;
          cout<<endl;
  • 빵페이지/숫자야구 . . . . 2 matches
         난수생성 참고자료 : RandomFunction , WindowsConsoleControl
          /*cout << random[0] << random[1] << random[2] << random[3] << endl;*/ // 대략 답 -_-;;;
          cout << endl;
  • 새싹교실/2011 . . . . 2 matches
          stdio.h: printf, scanf function
         ||5||function
  • 새싹교실/2011/學高/8회차 . . . . 2 matches
          * 아래 소스코드를 큰 틀로 해서 recursive function을 이용하여 하노이의 탑 시뮬레이션 프로그램을 작성하라(이동 상황을 출력한다, 전역변수를 이용하여 횟수를 카운트하게 하여 H_n = 2*H_n-1 + 1 점화식에 맞는 답이 나옴을 보여야한다.)
          * recursive function
  • 새싹교실/2012/AClass . . . . 2 matches
          c언어에서 배웠다 '\n'는 c++에서는 endl로 쓴다는 것도 배웠다.
          cout<<a<<endl;
  • 새싹교실/2012/세싹 . . . . 2 matches
          * 데이터 처리에 대하여 좀 더 검색하였는데 기본적으로 send된 정보는 버퍼에 계속 쌓이며, recv가 큐처럼 버퍼를 지우면서 읽는다고 되어있었습니다. 반면 read와 같은 파일포인터 함수로 읽으면 버퍼를 지우지않고 파일포인터만 이동하는 것 같더군요. recv도 옵션을 변경하면 버퍼에 계속 누적해서 보관할 수 있는거 같습니다.
          http://www.winapi.co.kr/reference/Function/CreateFile.htm
          http://www.winapi.co.kr/reference/Function/ReadFile.htm
          * 값을 확인하는데 이상한 값이 나와 검색해보니 MFT에서도 Little Endian형식을 쓰는 군요. - [김희성]
          printf("Attribute List End\n");
          //__int64는 메모리상에 little endian식으로 저장됨. 왜인지 이해가 안 가지만...
          printf("Run List End VCN : %I64d\n",*((unsigned __int64*)((unsigned char*)MFT+point+24)));
         unsigned __int64 htonll(unsigned __int64 LittleEndian)
          unsigned __int64 BigEndian;
          LittleEndian>>=16;
          BigEndian=0;
          BigEndian+=(unsigned __int64)(*((unsigned char*)&LittleEndian+7))<<54;
          BigEndian+=(unsigned __int64)(*((unsigned char*)&LittleEndian+6))<<48;
          BigEndian+=(unsigned __int64)(*((unsigned char*)&LittleEndian+5))<<40;
          BigEndian+=(unsigned __int64)(*((unsigned char*)&LittleEndian+4))<<32;
          BigEndian+=(unsigned __int64)(*((unsigned char*)&LittleEndian+3))<<24;
          BigEndian+=(unsigned __int64)(*((unsigned char*)&LittleEndian+2))<<16;
          BigEndian+=(unsigned __int64)(*((unsigned char*)&LittleEndian+1))<<8;
          BigEndian+=(unsigned __int64)(*((unsigned char*)&LittleEndian+0));
          return BigEndian;
  • 새싹교실/2012/아무거나/3회차 . . . . 2 matches
          * 함수(function)와 프로시저(procedure)
          * 프로시저는 return 이 없는, void function
  • 새싹교실/2012/열반/120402 . . . . 2 matches
         function(int y){
          function(5);
  • 서민관 . . . . 2 matches
         // functions for KeyValuePair List
         // functions for Map
  • 소수구하기/영록 . . . . 2 matches
          clock_t end = clock() - start;
          cout << (double)end/CLOCKS_PER_SEC << "초\n";
  • 소수구하기/임인택 . . . . 2 matches
          cout << ti/clk << endl;*/
          cout << ti/clk << endl;
  • 소수구하기/재니 . . . . 2 matches
          clock_t end = clock() - start;
          cout << (double)end/CLOCKS_PER_SEC << "초\n";
  • 숫자야구/Leonardong . . . . 2 matches
          cout << "정답 : " << int(solution[0]) << int(solution[1]) << int(solution[2]) << endl;
          cout << "strike : " << strike << "\tball : " << ball << endl;
  • 숫자야구/장창재 . . . . 2 matches
          cout << key_first << key_second << key_third << endl;
          cout << strike << "스트라이크 " << ball << "볼" << endl;
  • 숫자야구/조재화 . . . . 2 matches
          cout<<a<<b<<c<<endl;
          cout<<i<<"스트라이크 "<<j<<"볼입니다."<<endl;
  • 스택/조재화 . . . . 2 matches
          cout<<"1.Push"<<"\t"<<"2. Pop"<<"\t"<<"3. 자료출력"<<endl;
          cout<<endl;
  • 시간맞추기/남도연 . . . . 2 matches
          cout<<"You win!!!"<<endl;
          cout<<"your time is off."<<endl;
  • 식인종과선교사문제/조현태 . . . . 2 matches
         bool isEnd(party& left)
          if (isEnd(left))
          cout << "No Solution." << endl;
          cout << "식인종 : " << moveData[i].white << "명 이동, 선교사 : " << moveData[i].black << "명 이동 " << endl;
  • 알고리즘5주숙제/김상섭 . . . . 2 matches
         // cout << x << " " << y << endl;
          cout << 4*(double)count/max << endl;
  • 알고리즘8주숙제/test . . . . 2 matches
          fout << numCase << endl;
          fout << endl;
  • 압축알고리즘/주영&재화 . . . . 2 matches
          cout << endl;
          cout << endl;
  • 이승한/PHP . . . . 2 matches
          function 함수명(전달인자){ 함수내용; return 변수;} // Function 도 상관이 없었다. return은 없어도 돼며 type이 존재하지 않으므로 함수에 리턴타입은 존재하지 않는다.
  • 잔디밭/권순의 . . . . 2 matches
          cout << greatestNum << endl << currentRow << " " << currentCol << endl;
  • 정모/2013.4.29 . . . . 2 matches
          * 삼성 S/W Friendship 동아리 선정
          * Friendship의 경우에는, 삼성소프트웨어멤버십 내에서 동아리 성과 공유회 등에 참여하게 됩니다.
  • 정모/2013.7.29 . . . . 2 matches
         == 삼성 S/W Friendship 워크샵 참가 ==
          * S/W Friendship 워크샵을 통해 많은 동아리 간부들과 만났습니다.
  • 즐겨찾기 . . . . 2 matches
         [http://groups.yahoo.com/group/testdrivendevelopment/ TDD 야후그룹]
         [http://groups.yahoo.com/group/testdrivendevelopment/message/11784 Well, that's gonna fail]
  • 창섭/배치파일 . . . . 2 matches
         if "%1" == " " goto end
         :end
  • 채팅원리 . . . . 2 matches
         SendUser : 클라이언트 사용자가 현재 접속되어 있는 사람들의 ID를 알 수 있게 List에 사용자 이름을 보내주는 클래스이다.
         SendMessage : 서버로 메시지를 보낸다.
  • 최대공약수/남도연 . . . . 2 matches
          cout<<"x="<<x<<" y="<<y<<endl;
          cout<<"GCD="<<big<<endl;
  • 큐/조재화 . . . . 2 matches
          cout<<"1.Push"<<"\t"<<"2. Pop"<<"\t"<<"3. 자료출력"<<endl;
          cout<<endl;
  • 토비의스프링3/오브젝트와의존관계 . . . . 2 matches
          * 의존관계 주입(DI)? : 의존관계 주입(Dependency Injection)이란 스프링에 사용된 제어의 역전(IoC) 방식을 조금 더 명확하게 나타내기 위해서 사용한 용어이다.
          * 의존관계 검색(Dependency Lookup) : 스프링의 DI방식을 이용하기 위해서는 DI를 받는 오브젝트가 반드시 Bean이어야 한다. 하지만 DL을 이용하면 Bean이 아닌 오브젝트에서도 의존관계를 설정할 수 있다.
  • 파스칼삼각형/강희경 . . . . 2 matches
          cout << "잘못된 입력입니다."<< endl;
          cout << endl;
  • 파스칼삼각형/김영록 . . . . 2 matches
          cout << "===== △파스칼의 삼각형△ =====" << endl;
          cout << num_ret(X,Y) <<"입니다! ㅋㅋ" << endl;
  • 파스칼삼각형/김홍기 . . . . 2 matches
          cout<<"파스칼삼각형의 숫자 확인"<<endl;
          cout<<PasNum(col-1,row-1)<<endl;
  • 파스칼삼각형/문보창 . . . . 2 matches
          cout << 1 << endl;
          cout << num << endl;
  • 파스칼삼각형/임상현 . . . . 2 matches
          cout<<"잘못 누르셨습니다. 다시 선택해 주세요."<<endl;
          cout<<"파스칼의 삼각형 "<<row<<"행 "<<col<<"열의 숫자는 "<<Pascal(row,col)<<"입니다."<<endl;
  • 파일 입출력_1 . . . . 2 matches
          // cout << "에이 뿔이다."<<endl;
          cout << endl;
  • 포인터 swap . . . . 2 matches
          cout << "a = " << a << "b = " << b << endl;
          cout << "a = " << a << "b = " << b << endl;
  • 후각발달특별세미나 . . . . 2 matches
          cout << "addr of f in " << funcCount << "th call : " << f << endl;
          cout << "addr of b in " << funcCount << "th call : " << b << endl;
  • 02_C++세미나 . . . . 1 match
          cout<<a<<endl;
  • 05학번만의C Study/숙제제출1/이형노 . . . . 1 match
          cout << "섭씨 " << cel << "도는 화씨로 " << fah << "도 입니다." << endl;
  • 05학번만의C++Study/숙제제출1/이형노 . . . . 1 match
          cout << "섭씨 " << cel << "도는 화씨로 " << fah << "도 입니다." << endl;
  • 05학번만의C++Study/숙제제출1/허아영 . . . . 1 match
          cout << "섭씨" << celsius << "도는 화씨로 " << fahrenheit << "도입니다." << endl;
  • 10학번 c++ 프로젝트 . . . . 1 match
          * function 하나씩 맡아서 만들어 오는데 뭘 어째
  • 1thPCinCAUCSE . . . . 1 match
          cout << "I got " << n << endl; // 표준 출력 부분
  • 1thPCinCAUCSE/ExtremePair전략 . . . . 1 match
          cout << outputData[i] << endl;
          * ["TestDrivenDevelopment"]를 사용했다고 말하기는 그렇지만 테스트 케이스를 입력으로 넣어놓고 프로그래밍 중간 중간에 제대로 돌아가는 지를 확인하기 위해 지금까지의 진행 상황을 출력했습니다.
  • 1~10사이 숫자 출력, 5 제외 (continue 문 사용) . . . . 1 match
          cout << i << endl;
  • 2002년도ACM문제샘플풀이/문제E . . . . 1 match
          sort(sortedWeights.begin(), sortedWeights.end());
  • 2010JavaScript/역전재판 . . . . 1 match
          function changetext(){ // 글자가 나오는 text부분에 내용을 바꾸는 함수.
  • 2011년독서모임/주제 . . . . 1 match
         ||자신의 취미가 담긴 책 읽기||Legend, 고구려, 수집이야기||
  • 2dInDirect3d/Chapter1 . . . . 1 match
          VendorID, DeviceID, SubSysID, Revision : 칩셋마다 틀려요
  • 2thPCinCAUCSE . . . . 1 match
          cout << "I got " << n << endl; // 표준 출력 부분
  • 2thPCinCAUCSE/ProblemA/Solution/상욱 . . . . 1 match
          cout << count << endl;
  • 2학기파이선스터디/모듈 . . . . 1 match
         <function add at 0x00A927E0>
  • 2학기파이선스터디/함수 . . . . 1 match
         def 함수명(인수들..):
  • 3D프로그래밍시작하기 . . . . 1 match
         이 시점에서 여러가지 해결해야 할 사항이 생기는데, 첫째로는 파일 포맷에 대해서 정확히 이해하고, 각 항목이 어떤 역할을 하는 것인지를 알아야 하겠으며, 둘째로는 비교적 여러단계로 복잡하게 구성되어 있는 3D Scene Data 를 효율적으로 정렬하기 위한 자료구조를 내 프로그램에 심는 것입니다. STL 같은 라이브러리를 능숙하게 사용할 수 있다면 많은 도움이 될 것입니다. 가급적이면 계층적으로 구성된 모델을 읽을 수 있도록 해야 나중에 애니메이션도 해보고 할 수 있겠죠. 세째로는 기본 이상의 가속기에 대한 조작을 할 수 있도록 d3d_renderstate 들에 대해서 알아두는 것입니다. 최소한 바이리니어 필터링을 켜고 끄고, 텍스춰 매핑을 켜고 끄고, 알파블렌딩, 등등을 맘먹은대로 조합해볼 수 있어야겠죠
  • 3N+1Problem/곽세환 . . . . 1 match
          cout << i << " " << j << " " << great_length << endl;
  • 3N+1Problem/문보창 . . . . 1 match
          cout << a << " " << b << " " << maxCycle << endl;
  • 3N+1Problem/신재동 . . . . 1 match
          cout << maxCount << endl;
  • 3N+1Problem/황재선 . . . . 1 match
          cout << aMaxCycle << endl;
  • 3n 1/이도현 . . . . 1 match
          cout << max_count << endl;
  • 3rdPCinCAUCSE . . . . 1 match
         cout << "I got " << n << endl; // 표준 출력 부분
  • 50~100 사이의 3의배수와 5의 배수 출력 . . . . 1 match
          cout << i << endl;
  • 5인용C++스터디/API에서MFC로 . . . . 1 match
         END_MESSAGE_MAP()
         // Generated message map functions
  • 8queen/곽세환 . . . . 1 match
          cout << endl;
  • 8queen/민강근 . . . . 1 match
          cout<<endl;
  • ACM_ICPC/2013년스터디 . . . . 1 match
          * [http://www.algospot.com/judge/problem/read/WEEKLYCALENDAR Weekly Calendar]
  • APlusProject/QA . . . . 1 match
         || 요구 사항 번호 || 설계 번호 || 구현물 (클래스명) || 구현물 (함수명) || 파일명 ||
  • AcceleratedC++/Chapter0 . . . . 1 match
          std::cout << "Hello, world!" << std::endl;
  • AcceleratedC++/Chapter16 . . . . 1 match
         || ["AcceleratedC++/Chapter15"] || ["AcceleratedC++/AppendixA"] ||
  • AcceleratedC++/Chapter6/Code . . . . 1 match
          transform(students.begin(), students.end(), back_inserter(medianOfStudents), optimistic_median);
  • AcceptanceTest . . . . 1 match
         원문 : http://extremeprogramming.org/rules/functionaltests.html
         'AcceptanceTest'란 이름은 본래 'FunctionalTest' 로부터 온 것이다. 이는 ''Customer의 요구사항에 대해 system이 'acceptable' 함을 보증한다''라는 본래의 의도를 더 충실히 반영해준다.
  • ActiveXDataObjects . . . . 1 match
         {{|Microsoft ADO (ActiveX Data Objects) is a Component object model object for accessing data sources. It provides a layer between programming languages and databases, which allows a developer to write programs which access data, without knowing how the database is implemented. No knowledge of SQL is required to access a database when using ADO, although one can use ADO to execute arbitrary SQL commands. The disadvantage of this is that this introduces a dependency upon the database.
  • AirSpeedTemplateLibrary . . . . 1 match
         However, in making Airspeed's syntax identical to that of Velocity, our goal is to allow Python programmers to prototype, replace or extend Java code that relies on Velocity.
  • AliasPageNames . . . . 1 match
         ExtendedWikiName,확장위키네임,확장위키이름
  • AnEasyProblem/강성현 . . . . 1 match
          cout << i << endl;
  • AntOnAChessboard/문보창 . . . . 1 match
          cout << i << ' ' << j << endl;
  • AntOnAChessboard/하기웅 . . . . 1 match
          cout << calculate(step, x_loc) << " " << calculate(step, y_loc) << endl;
  • AudioFormatSummary . . . . 1 match
         || Format Name || License || Contributor (Vendor) || 특징 ||
  • AustralianVoting/Leonardong . . . . 1 match
          cout << candidators[i].name << endl;
  • BasicJAVA2005/실습2/허아영 . . . . 1 match
         public class GridLayoutDemo extends JFrame implements ActionListener{
  • BeeMaja/김상섭 . . . . 1 match
          cout << x << " " << y << endl;
  • BeeMaja/문보창 . . . . 1 match
          cout << cord[in].x << " " << cord[in].y << endl;
  • BeeMaja/변형진 . . . . 1 match
         function BeeMaja($w)
  • BeeMaja/조현태 . . . . 1 match
          cout << "(" << x << ", " << y << ")" << endl;
  • BeeMaja/허준수 . . . . 1 match
          cout << x << " " << y << endl;
  • BirthdatCake/하기웅 . . . . 1 match
          cout << getLine().x <<" " <<getLine().y<< endl;
  • BirthdayCake/허준수 . . . . 1 match
          cout << a << " " << b <<endl;
  • BookShelf . . . . 1 match
          1. [테스트주도개발] - [TestDrivenDevelopmentByExample] 번역서
         Generating Typed Dependency Parses from Phrase Structure Parses - 20070215
  • Button/상욱 . . . . 1 match
         public class Test extends JFrame implements ActionListener
  • Button/영동 . . . . 1 match
         public class JOptionPaneTest extends JFrame implements ActionListener {
  • C++ . . . . 1 match
         Bell Labs' Bjarne Stroustrup developed C++ (originally named "C with Classes") during the 1980s as an enhancement to the C programming language. Enhancements started with the addition of classes, followed by, among many features, virtual functions, operator overloading, multiple inheritance, templates, and exception handling. The C++ programming language standard was ratified in 1998 as ISO/IEC 14882:1998, the current version of which is the 2003 version, ISO/IEC 14882:2003. New version of the standard (known informally as C++0x) is being developed.
  • C/Assembly/Main . . . . 1 match
          .type main, @function
  • CVS/길동씨의CVS사용기ForLocal . . . . 1 match
         cvs import -m "코멘트" 프로젝트이름 VenderTag ReleaseTag
  • CategoryHomepage . . . . 1 match
         Note that such pages are "owned" by the respective person, and should not be edited by others, except to leave a message to that person. To do so, just append your message to the page, after four dashes like so:
  • ChocolateChipCookies/조현태 . . . . 1 match
          cout << GetMaxChipNumber() << endl;
  • Chopsticks/문보창 . . . . 1 match
          cout << findMin((nPerson + 8)&0x1, 2, nStick - 3 * nPerson - 22) << endl;
  • CincomSmalltalk . . . . 1 match
          * [http://zeropage.org/pub/language/smalltalk_cincom/ExtendedBase.tar.gz VisualWorks commonly used optional components]
  • Classes . . . . 1 match
          * http://www.3dsmax.net/4_article/rendering.htm
  • ClassifyByAnagram/JuNe . . . . 1 match
          anagrams.setdefault(key,[]).append(eachWord)
  • ClassifyByAnagram/박응주 . . . . 1 match
          self._anagrams[s].append(word)
  • CodeCoverage . . . . 1 match
          * http://www.validatedsoftware.com/code_coverage_tools.html : Code Coverage Tool Vender 들
  • CodeRace/20060105/Leonardong . . . . 1 match
          report.append((word, count))
  • CodeRace/20060105/아영보창 . . . . 1 match
          cout << container[i]->data << ' ' << container[i]->count << ' ' << container[i]->asciiSum << endl;
  • CodeYourself . . . . 1 match
         C언어로 일기를 쓰라는 숙제가 있었나요? 재미있네요. 그런데 이건 좀 어려운 과제 같습니다. 왜냐하면, 프로그래밍의 일상적 시간 흐름과 정반대가 되기 때문입니다. 무슨 말이냐면, 프로그래밍이라는 행위는 시간의 순방향입니다. 내가 작성한 프로그램은 미래에 일어날 사건(실행)에 대한 청사진이죠. 하지만 일기는 주로 시간의 역방향입니다. 과거에 일어났던 일들을 정리, 기록하는 성격이 강하죠. 프로그램으로 과거의 일을 기록한다는 것은 어찌보면 쉽지만 또 어찌보면 매우 어려운 문제일수도 있습니다. 신입생 입장에서는 시간의 흐름에 따라 일어났던 과거의 이벤트 연속을 적는 수준이면 될 것 같습니다. 아쉬운 것은, 이렇게 되면 조건 분기문을 활용하기가 어렵다는 점입니다. 힌트를 준다면, 리팩토링을 하면 가능합니다(내 하루의 중복을 어떻게 제거할지 생각해 보세요 -- higher-order function이 나올 정도면 상당히 진전된 것입니다). 어차피 과거의 기록 역시 "기술"(description)의 일종이고, 미래의 계획도 "기술"이니까요.
  • CommonPermutation/문보창 . . . . 1 match
          cout << str << endl;
  • CompleteTreeLabeling/하기웅 . . . . 1 match
          cout << getCompleteTreeLabeling(level, depth) << endl;
  • ComponentObjectModel . . . . 1 match
         Despite this, COM remains a viable technology with an important software base – for example the popular DirectX 3D rendering SDK is based on COM. Microsoft has no plans for discontinuing COM or support for COM.
  • ComputerNetworkClass/Exam2006_1 . . . . 1 match
         MaxSendBuffer, MaxRcvdBuffer 위치 그리기
  • ComputerNetworkClass/Report2006/BuildingWebServer . . . . 1 match
          * [http://msdn.microsoft.com/library/en-us/winsock/winsock/winsock_functions.asp Winsock Functions]
  • ContestScoreBoard/신재동 . . . . 1 match
          cout << teamNumber << " " << teams[i].totalSolveProblem << " " << teams[i].totalScore << endl;
  • ConvertAppIntoApplet/영동 . . . . 1 match
         public class AppletTest extends JApplet implements ActionListener {
  • Counting/문보창 . . . . 1 match
          cout << Tn[n] << endl;
  • Counting/하기웅 . . . . 1 match
          cout<< number[input] <<endl;
  • Counting/황재선 . . . . 1 match
         public class TestCounting extends TestCase {
  • Cpp에서의가변인자 . . . . 1 match
         C의 io 라이브러리인 printf에 쓰이는 그것이다. 또는 MFC - CString의 CString::Format이나 CString::AppendFormat에 쓰이는 그것이기도 하다. 함수 쓸때 ...이라고 나오는 인자를 가변인자라고 한다. 이렇게 하면 인자를 여러개를 받을 수 있다.
  • CryptKicker2/문보창 . . . . 1 match
          cout << endl;
  • CuttingSticks/김상섭 . . . . 1 match
          for(vector< vector<int> >::iterator k = Data.begin(); k != Data.end(); k++)
  • CuttingSticks/하기웅 . . . . 1 match
          cout << "The minimum cutting is "<<calculate()<<"."<<endl;
  • D3D . . . . 1 match
          * potential function에 대해서만 봤다.. 약간 쓸만한 알고리즘(?) 인것 같다. ㅋㅋㅋ[[BR]]다음에 나오는 PathPlan에 관한얘기는 쉬운것 같은데. 장난이 아니다.[[BR]]머리 아프다. - 249p/602p...
  • DPSCChapter5 . . . . 1 match
         '''Chain of Responsibility(225)''' Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects, and pass the request along the chain until an object handles it.
  • DataStructure/Stack . . . . 1 match
          cout<<top->m_nData<<endl;
  • DataStructure/Tree . . . . 1 match
          cout << root->Data << endl;
  • DatabaseManagementSystem . . . . 1 match
         DBMS라는 것은 DB를 다루기위해서 만들어진 프로그램이다. 이것은 다수의 사용자가 요청한 정보를 처리합니다. 원래 대용량의 데이터를 다루기위해서 만들어진 컴퓨터때문에 만들어진 것으로 DBMS는 컴퓨터의 back-end 프로그램의 표준화된 일부로서 완전히 통합되었다.
  • DebuggingApplication . . . . 1 match
         [http://www.dependencywalker.com/]
  • DermubaTriangle/김상섭 . . . . 1 match
          cout << sqrt(pow(num1_x,2) + pow(num1_y,2)) << endl;
  • DermubaTriangle/허준수 . . . . 1 match
          cout << sqrt(pow((centroid_bx - centroid_ax), 2) + pow((centroid_by - centroid_ay), 2)) <<endl;
  • DesignPatterns/2011년스터디/1학기 . . . . 1 match
          1. 오늘 스터디한 부분은 '왜 extends가 나쁜가'였다. 왜 나쁜지 예를 보았는데 와닿지 않아 이해하기 힘들었다.
  • DirectDraw/APIBasisSource . . . . 1 match
         #endif
  • DocumentObjectModel . . . . 1 match
         Document Object Model (DOM) is an application programming interface to access HTML and XML documents. It is programming language and platform independent. Behind the interface the document is represented with an object-oriented model.
  • Eclipse . . . . 1 match
         SeeAlso [http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/eclipse-project-home/plans/3_0/freeze_plan.html Eclipse 3.0 endgame plan]
  • EcologicalBinPacking/곽세환 . . . . 1 match
          cout << " " << min_move << endl;
  • EcologicalBinPacking/문보창 . . . . 1 match
          cout << bin[index] << " " << nMove[index] << endl;
  • EcologicalBinPacking/임인택 . . . . 1 match
          results.append(sum)
  • EightQueenProblem/이덕준소스 . . . . 1 match
          cout<<endl;
  • EightQueenProblem/임인택 . . . . 1 match
          cout << endl;
  • EightQueenProblem/최봉환 . . . . 1 match
          cout<<endl;
  • EightQueenProblem/허아영 . . . . 1 match
          cout << endl;
  • EightQueenProblem2/이덕준소스 . . . . 1 match
          cout<<endl;
  • EnglishSpeaking/2011년스터디 . . . . 1 match
          * There are four members in my family: my father, mother, and a younger brother. Well, actually there are five including our dog. My father was a military officer for twenty years. He recently retired from service and now works in a weaponry company. My mother is a typical housewife. She takes care of me and my brother and keeps our house running well. My brother is attending a university in the U.S.A. He just entered the university as a freshman and is adjusting to the environment. I miss the memory of fighting over things with him. The last member of my family is my dog named Joy. She is a Maltese terrier and my mother named her Joy to bring joy into our family. That's about it for the introduction of my family members.
  • ErdosNumbers/황재선 . . . . 1 match
         public class TestErdosNumbers extends TestCase {
  • EuclidProblem/문보창 . . . . 1 match
          cout << x << " " << y << " " << g << endl;
  • EuclidProblem/차영권 . . . . 1 match
          cout << coefficient[j-1].X << " " << coefficient[j-1].Y << " " << GCD << endl;
  • FactorialFactors/문보창 . . . . 1 match
          cout << fact[n] << endl;
  • Favorite . . . . 1 match
         [http://groups.yahoo.com/group/testdrivendevelopment/ TDD 야후그룹]
         [http://xper.org/wiki/xp/TestDrivenDevelopmentInCeeLanguage TDD in Cee]
  • FileInputOutput . . . . 1 match
          fout << a+b << endl; // cout으로 화면으로 출력한다면, fout은 연결된 output.txt에 a+b를 출력
  • GUIProgramming . . . . 1 match
         자바로 작성된 프로그램에서 기본적으로 이용하는 API이다. 플랫폼에 독립적으로 제작된 툴킷이지만 내부 구현 상 플랫폼에서 제공하는 함수를 아주 낮은 수준의 추상화된 형태로만 제공하기 때문에 자바의 Platform-independable의 특성을 충분히 만족할 만한 수준은 못된다.
  • Genie . . . . 1 match
         [VendingMachine/재니]
  • Gof/Adapter . . . . 1 match
         CreateManipulator's implementation doesn't change from the class adapter version, since it's implemented from scratch and doesn't reuse any existing TextView functionality.
  • Gof/Command . . . . 1 match
          _cmds->Append (c);
  • Gof/Composite . . . . 1 match
         cout << "The net price is " << chassis->NetPrice () << endl;
  • Gof/Visitor . . . . 1 match
          - declares a Visit operations for each class of ConcreteElement in the object structure. The operation's name and signature identifies the class that sends the Visit request to the visitor. That lets the visitor determine the concrete class of the element being visited. Then the visitor can access the element directly through its particular interface.
  • HASH구하기/강희경,김홍선 . . . . 1 match
          cout << a << " " << b << " " << c << " " << d << " " << e<< endl;
  • HASH구하기/권정욱,곽세환 . . . . 1 match
          cout << endl;
  • HanoiTowerTroublesAgain!/문보창 . . . . 1 match
          cout << number - 1 << endl;
  • HanoiTowerTroublesAgain!/이도현 . . . . 1 match
          cout << process(input) << endl;
  • HanoiTowerTroublesAgain!/조현태 . . . . 1 match
          cout << GetMaxBallNumber(stickNumber) << endl;
  • HanoiTowerTroublesAgain!/하기웅 . . . . 1 match
          cout << counting(test[i]) <<endl;
  • Hartal/Celfin . . . . 1 match
          cout << getHartal()<< endl;
  • Hartals/상협재동 . . . . 1 match
          cout << totalStrike[i] << endl;
  • Hartals/차영권 . . . . 1 match
          cout << Save_Result[i] << endl;
  • HaskellLanguage . . . . 1 match
         이전 [프로그래밍잔치] 때 사용했었던 [FunctionalLanguage].
          * 저 위에보면, featuring static typing, higher-order functions, polymorphism, type classes and modadic effects 라고 있는데, 이것들이 아마 haskell language의 큰 특징들이 아닐까 한다. 각각에 대해서 알아두는게 도움이 될듯. ([http://www.nomaware.com/monads/html/ monad관련자료])- 임인택
         [언어분류], [FunctionalLanguage]
  • Header 정의 . . . . 1 match
         #endif
  • Hessian . . . . 1 match
         public class RpcTest extends HessianServlet implements Basic {
  • Hessian/Counter . . . . 1 match
         public class RpcCounter extends HessianServlet implements Count {
  • HowManyFibs?/문보창 . . . . 1 match
          cout << count << endl;
  • HowManyPiecesOfLand?/하기웅 . . . . 1 match
          cout << Piece_of_Land(input) << endl;
  • HowManyZerosAndDigits/김회영 . . . . 1 match
          cout<<endl;
  • HowManyZerosAndDigits/문보창 . . . . 1 match
          cout << nZero << " " << int(nDigit) + 1 << endl;
  • HowManyZerosAndDigits/임인택 . . . . 1 match
         public class MyTest extends TestCase {
  • HowManyZerosAndDigits/허아영 . . . . 1 match
          cout << zeroCount << " " << numCount << endl;
  • HowToStudyXp . . . . 1 match
          * ["TestDrivenDevelopmentByExample"] (Kent Beck) : 곧(아마 올해 내에) 출간 예정인 최초의 TDD 서적. TDD를 모르면 XP도 모르는 것. (TDD를 실제 적용하려면 적어도 반년 정도는 계속 훈련해야 함)
          * http://groups.yahoo.com/group/testdrivendevelopment
  • ImmediateDecodability/김회영 . . . . 1 match
          cout<<endl;
  • InsideCPU . . . . 1 match
         실모드는 컴퓨터를 키면 항상 실모드가 된다. 이는 하위 CPU에 대한 호환 정책으로 만들어진 것이며 열라 빠르게 움직이는 (펜티엄클럭) 8086이라고 보면 적당할 것이다. 또한 실모드에서는 메모리 어드레싱 방법이 8086과 동일한 20bit의 어드레스 비트를 가지고 있으며 즉 1MB 의 접근만을 허용한다. 또한 640KB의 base로 접근하고 384KB는 extends로 접근해야 하며 위의 메모리에는 ROM-BIOS와 Video Memory가 있다. 1MB를 접근하기 위해서는 16bit의 세그먼트와 16bit의 오프셋으로 구성된 물리적 접근이 있다.
  • InterWiki . . . . 1 match
         MoinMoin marks the InterWiki links in a way that works for the MeatBall:ColourBlind and also is MeatBall:LynxFriendly by using a little icon with an ALT attribute. If you hover above the icon in a graphical browser, you'll see to which Wiki it refers. If the icon has a border, that indicates that you used an illegal or unknown BadBadBad:InterWiki name (see the list above for valid ones). BTW, the reasoning behind the icon used is based on the idea that a Wiki:WikiWikiWeb is created by a team effort of several people.
  • IpscLoadBalancing . . . . 1 match
          thisLine.append(int(lexer.get_token()))
  • IsThisIntegration?/김상섭 . . . . 1 match
          cout << temp*a << " " << temp*b << " " << temp*c << endl;
  • IsThisIntegration?/하기웅 . . . . 1 match
          cout << (pi/3 +1-sqrt(3.0))*size*size <<" "<< 2*(pi/6-2+sqrt(3.0))*size*size<<" "<<(4-(2.0/3)*pi-sqrt(3.0))*size*size<<endl;
  • IsThisIntegration?/허준수 . . . . 1 match
          cout << s1 << " " << s2 << " " << s3 <<endl;
  • JTDStudy/두번째과제/상욱 . . . . 1 match
         public class HelloWorld extends JApplet implements ActionListener {
  • JTDStudy/첫번째과제/장길 . . . . 1 match
         public class testBaseball extends TestCase {
  • JTDStudy/첫번째과제/정현 . . . . 1 match
         public class BaseBallTest extends TestCase{
  • Java Script/2011년스터디/박정근 . . . . 1 match
          function addition(x, y){
  • Java2MicroEdition/MidpHttpConnectionExample . . . . 1 match
         public class Spike2 extends MIDlet implements CommandListener {
          dis = httpConn.openDataInputStream();
  • JavaScript/2011년스터디 . . . . 1 match
          * functional and declarative programming language
  • JavaScript/2011년스터디/박정근 . . . . 1 match
          function addition(x, y){
  • JavaStudy2003/두번째과제/곽세환 . . . . 1 match
         friendly(생략):같은 클래스, 같은 패키지내에 있는 클래스에서 접근 가능
  • JavaStudy2004/이용재 . . . . 1 match
         함수명이나 변수명을 지을 때 mynameis같이 쓰면 나중에 보거나 딴 사람이 보았을 때 이해하기가 힘들 수 있으니 myNameIs나 my_name_is처럼 각 단어끼리 구분 짓는 습관을 갖는 것이 좋다고 생각합니다. --[강희경]
  • JollyJumpers/Leonardong . . . . 1 match
          seriesInt.append( int(char) )
  • JollyJumpers/신재동 . . . . 1 match
         public class JollyJumperTest extends TestCase {
  • JollyJumpers/임인택 . . . . 1 match
         public class TestJJ extends TestCase {
  • JollyJumpers/황재선 . . . . 1 match
         public class TestJollyJumpers extends TestCase {
  • LoadBalancingProblem/임인택 . . . . 1 match
         public class TestLoadBalancing extends TestCase{
  • MFC/CollectionClass . . . . 1 match
          || {{{~cpp Append()}}} || 인자로 전달된 배열을 배열의 끝 부분에 추가한다. ||
  • MFC/DynamicLinkLibrary . . . . 1 match
         Upload:dependency_walker_kernel32_dll.JPG
  • MFC/Serialize . . . . 1 match
          // ClassWizard generated virtual function overrides
  • MagicSquare/동기 . . . . 1 match
          cout<<endl;
  • MagicSquare/재니 . . . . 1 match
          cout << endl;
  • Map/곽세환 . . . . 1 match
          cout << endl;
  • Map/권정욱 . . . . 1 match
          cout << endl;
  • Map/노수민 . . . . 1 match
          cout << endl;
  • Map/박능규 . . . . 1 match
          cout << endl;
  • Map/조재화 . . . . 1 match
          cout<<endl;
  • Map/황재선 . . . . 1 match
          cout << endl;
  • Map연습문제/곽세환 . . . . 1 match
          cout << endl;
  • Map연습문제/김홍선 . . . . 1 match
          cout << endl;
  • Map연습문제/나휘동 . . . . 1 match
          cout << decoded << endl;
  • Map연습문제/조재화 . . . . 1 match
          cout<<endl;
  • MicrosoftFoundationClasses . . . . 1 match
          nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex
  • MineSweeper/Leonardong . . . . 1 match
          self.ground.append( [None] * aColSize )
  • MineSweeper/zyint . . . . 1 match
          map.append(raw_input())
  • MineSweeper/신재동 . . . . 1 match
          cout << endl;
  • MineSweeper/황재선 . . . . 1 match
         public class TestMineSweeper extends TestCase {
  • MobileJavaStudy/Tip . . . . 1 match
         public class className extends MIDlet {
  • MockObjects . . . . 1 match
          * http://www.mockobjects.com/endotesting.html.
  • MoinMoinDone . . . . 1 match
          * Strip closing punctuation from URLs, so that e.g. (http://www.python.org) is recognized properly. Closing punctuation is characters like ":", ",", ".", ")", "?", "!". These are legal in URLs, but if they occur at the very end, you want to exclude them. The same if true for InterWiki links, like MeatBall:InterWiki.
          * Inline code sections (triple-brace open and close on the same line, {{{~cpp like this}}} or {{{~cpp ThisFunctionWhichIsNotaWikiName()}}})
  • MoinMoinNotBugs . . . . 1 match
         == This is *NOT* a Browser bug with CSS rendering ==
  • MoniWikiProcessor . . . . 1 match
         === Function type ===
         1.1.2 function 형태만 지원. 예) PhpProcessor, VimProcessor
  • MoniWikiTutorial . . . . 1 match
          * 매크로는 페이지에 따라 종종 동적으로 변할 수 있습니다. 예를 들어 {{{[[Calendar]]}}}매크로를 사용하면 보이는 달력은 날마다 그 내용이 변할 수 있습니다.
  • MultiplyingByRotation/곽세환 . . . . 1 match
          cout << number_jarisu << endl;
  • MultiplyingByRotation/문보창 . . . . 1 match
          cout << nDigit << endl;
  • MySQL 설치메뉴얼 . . . . 1 match
         If that command fails immediately and prints `mysqld ended', you can
  • NSIS/예제3 . . . . 1 match
         SectionEnd
         SectionEnd
         SectionEnd
         SectionEnd
         SectionEnd
         File: Descending to: "f:\tetris\Sources\res" -> "$INSTDIR\Sources\res"
         SectionEnd
         SectionEnd
         SectionEnd
  • NotToolsButConcepts . . . . 1 match
         - Functional Programming
         Teach them skepticism about tools, and explain how the state of the software development art (in terms of platforms, techniques, and paradigms) always runs slightly ahead of tool support, so those who aren't dependent on fancy tools have an advantage. --Glenn Vanderburg, see Seminar:AgilityForStudents
  • NumberBaseballGame/성재 . . . . 1 match
          {cout<< endl <<strike << ":스트라이크\n";
  • NumberBaseballGame/영록 . . . . 1 match
          cout<<a<<" "<<b<<" "<<c<<endl;
  • NumberBaseballGame/재니 . . . . 1 match
          cout << a << b << c << endl;
  • NumberBaseballGame/정훈 . . . . 1 match
          cout << "답 : " << rbaek << rsib << ril << endl;
  • NumericalAnalysisClass/Exam2002_1 . . . . 1 match
         2. Find the intersection point between the plane 3x+4y+z=24 and the line whose end points are p0=(10,-10,2), p1=(10,2,2)
  • NumericalAnalysisClass/Report2002_2 . . . . 1 match
         문제 : For given function f(x) = 1/(1+100*x^2) and
  • Omok/상규 . . . . 1 match
          cout << endl;
  • Ones/문보창 . . . . 1 match
          cout << i+1 << endl;
  • OurMajorLangIsCAndCPlusPlus/Function . . . . 1 match
          va_end(list);
  • OurMajorLangIsCAndCPlusPlus/XML/김상섭허준수 . . . . 1 match
          // cout << text << endl;
  • OurMajorLangIsCAndCPlusPlus/math.h . . . . 1 match
         == 함수 (FUNCTIONS) ==
         || 함수명(Ascii) || 내용 ||
  • OurMajorLangIsCAndCPlusPlus/print/김상섭 . . . . 1 match
          va_end(args);
  • OurMajorLangIsCAndCPlusPlus/print/이상규 . . . . 1 match
          va_end(args);
  • OurMajorLangIsCAndCPlusPlus/print/조현태 . . . . 1 match
          va_end(variables);
  • OurMajorLangIsCAndCPlusPlus/print/허준수 . . . . 1 match
          va_end(l);
  • OurMajorLangIsCAndCPlusPlus/setjmp.c . . . . 1 match
         // may be used to endorse or promote products derived from this software
  • OurMajorLangIsCAndCPlusPlus/stdarg.h . . . . 1 match
         - 사용법은 [OurMajorLangIsCAndCPlusPlus/Function] 참고
         || void va_end(va_list list) || 가변 전달인자 리스트 리셋 ||
  • PNGFileFormat/FilterAlgorithms . . . . 1 match
         function PaethPredictor (a,b,c)
  • PatternOrientedSoftwareArchitecture . . . . 1 match
          * Dependescies are kept local : 의존성이 특정 부분에만 걸쳐 있기 때문에 이렇게 된다. 따라서 시스템이 portability하게 된다.
  • PolynomialCoefficients/문보창 . . . . 1 match
          cout << temp1/temp2 << endl;
  • PowerOfCryptography/문보창 . . . . 1 match
          cout << result << endl;
  • ProgrammingLanguageClass . . . . 1 match
         개인적으로 학기중 기억에 남는 부분은 주로 레포트들에 의해 이루어졌다. Recursive Descending Parser 만들었던거랑 언어 평가서 (C++, Java, Visual Basic) 작성하는것. 수업시간때는 솔직히 너무 졸려서; 김성조 교수님이 불쌍하단 생각이 들 정도였다는 -_-; (SE쪽 시간당 PPT 진행량이 60장일때 PL이 3장이여서 극과 극을 달렸다는;) 위의 설명과 다르게, 수업시간때는 명령형 언어 페러다임의 언어들만 설명됨.
         아쉬운 부분은 프로그램 언어론이란 과목임에도 불구하고, 설명의 비중은 많이 쓰이는 언어일수록 높았던 점입니다. 함수형언어(FunctionalLanguage)는 기말 고사 바로 전 시간에 한 시간만에 끝내려다가, 그나마 끝내지도 못하고 요약 부분만 훑었습니다. 그 밖의 종류에 대해서는 거의 절차적 언어, 특히 C계열 언어를 설명하다가 부연 설명으로 나오는 경우가 많았습니다. 논리형언어(LogicLanguage)에 대한 설명은 거의 못 봤습니다. 어차피 쓰지 않을 언어라고 생각해서일까요.--[Leonardong]
  • ProgrammingPearls/Column1 . . . . 1 match
         === A Friendly Conversation ===
  • ProjectAR/Temp . . . . 1 match
          - Render() : 화면에 직접 출력한다. (오직 출력루틴들만 있다.) // 계산을 하려면 FrameMove에서
  • ProjectEazy/Source . . . . 1 match
          self.cases.append(aCase)
  • ProjectPrometheus/Iteration . . . . 1 match
          * Release 1 : Iteration 1 ~ 3 (I1 ~ I3)까지. 책 검색과 Login , Recommendation System (이하 RS) 기능이 완료.
  • ProjectPrometheus/Iteration3 . . . . 1 match
         ||||||Story Name : Recommendation System(RS) Implementation, Login ||
  • ProjectPrometheus/Iteration5 . . . . 1 match
         ||||||Story Name : Recommendation System(RS) Implementation ||
  • ProjectPrometheus/Iteration6 . . . . 1 match
         ||||||Story Name : Recommendation System(RS) Implementation ||
  • ProjectPrometheus/Iteration9 . . . . 1 match
         Recommendation system
  • ProjectPrometheus/LibraryCgiAnalysis . . . . 1 match
          * Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.1_01; Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.)
  • ProjectZephyrus/ClientJourney . . . . 1 match
          ''순수한 형태의 MVC 모델을 구경해본적이 없는 관계로;; 저에겐 추상적인 개념일 뿐인지라. 하긴 JTree 에서 TreeModel 부분과 TreeRender & UIManager 부분, JTree 부분에 연결된 리스너와 관련할때 정확히 Control 부분과 UI 부분이 따로 떨어지지 않고 경계가 좀 모호하긴 하다는. --석천''
  • ProjectZephyrus/Server . . . . 1 match
         |||||| "end"로 종료, VM 1.3에서 돌아감, 기본 port 22000, 단일 접속만 허용||
  • ProjectZephyrus/Thread . . . . 1 match
          * ''Database Connection Pool 을 사용하던 하지 않던, DB 자원을 얻어오는 부분을 하나의 end point에서 처리하세요. 처음부터 이를 고려하지 않을 경우, '''*.java''' 에서 Database Connection을 생성하고, 사용하는 코드를 머지않아 보게 될겁니다. 이는 정말 최악입니다. pool을 쓰다가 쓰지 않게 될 경우는?다시 pool을 써야 할 경우는? 더 좋은 방법은 interface를 잘 정의해서 사용하고, 실제 DB 작업을 하는 클래스는 Factory 를 통해 생성하는게 좋습니다. 어떤 방식으로 DB를 다루던 간에 위에서 보기엔 항상 같아야 하죠. --이선우 [[BR]]
  • ProjectZephyrus/간단CVS사용설명 . . . . 1 match
         cvs import -m "메시지" 프로젝트이름 vender_tag release_tag
  • PyIde/FeatureList . . . . 1 match
          * go to class / function
  • PythonForStatement . . . . 1 match
         These represent finite ordered sets indexed by non-negative numbers. The built-in function len() returns the number of items of a sequence. When the length of a sequence is n, the index set contains the numbers 0, 1, ..., n-1. Item i of sequence a is selected by a[i].
  • PythonLanguage . . . . 1 match
          * http://www.gpgstudy.com/gpgiki/python_script - 파이썬의 Extending 과 Embedding 의 응용.
  • QuestionsAboutMultiProcessAndThread . . . . 1 match
          * 만약 그것이 아니라면, I/O 작업을 CPU가 담당하지 않는 것인가? CPU 내부 ALU와 I/O 작업 회로가 따로 있는 Independent 상황이기 때문에 그런 것인가?
  • R'sSource . . . . 1 match
         sys.argv.extend(['--packages', 'win32com'])
  • RandomQuoteMacro . . . . 1 match
         '''Q''' : 블로그를 쓰면 Calendar 밑에 이 모듈이 붙어있더군요.
  • RandomWalk/손동일 . . . . 1 match
          cout << endl;
  • RandomWalk/현민 . . . . 1 match
          cout << endl;
  • RandomWalk2/ExtremePair . . . . 1 match
          journeyList.append(int(journeyString[i]))
  • RandomWalk2/현민 . . . . 1 match
          cout << endl;
  • Refactoring/DealingWithGeneralization . . . . 1 match
         class Manager extends Employee...
  • Refactoring/OrganizingData . . . . 1 match
          * You have a two-way associational but one class no longer needs features from the other. [[BR]]''Drop the unneeded end of the association.''
  • ReleasePlanning . . . . 1 match
         No dependencies, no extra work, but do include tests. The customer then decides what story is the most important or has the highest priority to be completed.
  • ReverseAndAdd/Celfin . . . . 1 match
          cout << endl;
  • ReverseAndAdd/곽세환 . . . . 1 match
          cout << iter << " " << p << endl;
  • ReverseAndAdd/김정현 . . . . 1 match
          t.append(a)
  • ReverseAndAdd/남상협 . . . . 1 match
          self.stack.append(numbers%10)
  • ReverseAndAdd/문보창 . . . . 1 match
          cout << nadd[i] << " " << pal[i] << endl;
  • ReverseAndAdd/이승한 . . . . 1 match
          cout<<outputN[cycle]<<" "<<output[cycle]<<endl;
  • ReverseAndAdd/허아영 . . . . 1 match
          cout << turn << " " << addNum << endl;
  • RubyLanguage/InputOutput . . . . 1 match
         client.send("상대방", 0) # 0은 표준패킷 의미
  • STL/VectorCapacityAndReserve . . . . 1 match
          << endl;
  • STL/string . . . . 1 match
         cout << name<<endl;
  • STLPort . . . . 1 match
         error C2733: second C linkage of overloaded function 'InterlockedIncrement' not allowed
  • Scheduled Walk/김홍선 . . . . 1 match
          cout << endl;
  • Scheduled Walk/소영&재화 . . . . 1 match
          cout<<endl;
  • ScheduledWalk/승균 . . . . 1 match
          cout << endl;
  • ScheduledWalk/유주영 . . . . 1 match
          cout << endl;
  • Self-describingSequence/문보창 . . . . 1 match
          cout << i << endl;
  • Self-describingSequence/황재선 . . . . 1 match
         public class TestDescribingSequence extends TestCase {
  • SeparatingUserInterfaceCode . . . . 1 match
         너무 이상적이라고 말할지 모르겠지만, DIP 의 원리를 잘 지킨다면(Dependency 는 Abstraction 에 대해서만 맺는다 등) 가능하지 않을까 생각. 또는, 위에서의 WIMP를 그대로 웹으로 바꾸어도. 어떠한 디자인이 나올까 상상해본다.
  • Slurpys/김회영 . . . . 1 match
          cout<<endl;
          cout<<"END OF OUTPUT\n";
  • Slurpys/신재동 . . . . 1 match
          print 'END OF OUTPUT'
          strings.append(raw_input())
  • SmallTalk/강좌FromHitel/강의3 . . . . 1 match
         * Intended use of this product?
  • SmithNumbers/문보창 . . . . 1 match
          cout << i << endl;
  • SmithNumbers/신재동 . . . . 1 match
          cout << smithNumbers[i] << endl;
  • SoftwareEngineeringClass/Exam2006_1 . . . . 1 match
         3) S/W Test 와 Independent Verification & Validation 비교하라
  • SpiralArray/세연&재니 . . . . 1 match
          cout << endl;
  • StaticInitializer . . . . 1 match
         실무에서 저러한 StaticInitializer 를 가장 많이 볼 수 있는 곳은 Logging 관련 코드이다. 보통 Logging 관련 코드들은 개발 마무리 즈음에 붙이게 되는데, 일정에 쫓기다 보니 사람들이 Logging 관련 코드에 대해서는 CopyAndPaste 의 유혹에 빠지게 된다. 순식간에 Logging 과 Property(해당 클래스에 대한 환경설정부분) 에 대한 Dependency 가 발생하게 된다. 팀 차원에서 조심할 필요가 있다. --[1002]
  • Steps/김상섭 . . . . 1 match
          cout << found(totallength[i]) << endl;
  • Steps/하기웅 . . . . 1 match
          cout << showResult(y-x) << endl;
  • SummationOfFourPrimes/김회영 . . . . 1 match
          cout<<endl;
  • SummationOfFourPrimes/문보창 . . . . 1 match
          cout << endl;
  • SuperMarket/세연/재동 . . . . 1 match
         3. 클래스명과 함수명 그리고 변수명을 좀 더 평범하게 변형
  • TestDrivenDatabaseDevelopment . . . . 1 match
         public class SpikeRepositoryTest extends TestCase {
  • TestDrivenDevelopmentBetweenTeams . . . . 1 match
         관련 문서 : http://groups.yahoo.com/group/testdrivendevelopment/files 에 Inter-team TDD.pdf
         ["TestDrivenDevelopment"]
  • The Trip/Celfin . . . . 1 match
          cout << "$" << calculate()/100 <<endl;
  • TheJavaMan/로보코드 . . . . 1 match
         ||Upload:leonardong.Friend_1.0.jar||나휘동||
  • TheJavaMan/스네이크바이트 . . . . 1 match
         public class Board extends Frame{
  • TheLagestSmallestBox/김상섭 . . . . 1 match
          cout << -b/2.0/a - sqrt(b*b -4*a*c)/2.0/a << " " << 0.0 << " " << min/2.0 << endl;
  • TheLargestSmallestBox/허준수 . . . . 1 match
          cout << max_v << " " << 0.0 << " " << min_v/2 <<endl;
  • ThePriestMathematician/하기웅 . . . . 1 match
          cout<<fourPin[number]<<endl;
  • TheTrip/Leonardong . . . . 1 match
          resultList.append(each)
  • TheTrip/곽세환 . . . . 1 match
          cout << "$" << (exchange / 100.0) << endl;
  • TheTrip/문보창 . . . . 1 match
          cout << endl;
  • TheTrip/허아영 . . . . 1 match
          cout << "$" << (double)gap/2.00 << endl;
  • TheWarOfGenesis2R/Temp . . . . 1 match
          cout << a << b << endl;
  • TicTacToe/zennith . . . . 1 match
         public class Serious extends JFrame {
  • TicTacToe/김홍선 . . . . 1 match
         public class FirstJava extends JFrame{
  • TicTacToe/노수민 . . . . 1 match
         public class TicTacToe extends JFrame {
  • TicTacToe/박진영,곽세환 . . . . 1 match
         public class FirstJava extends JFrame {
  • TicTacToe/유주영 . . . . 1 match
          public class WoWJAVA extends JFrame{
  • TicTacToe/임민수,하욱주 . . . . 1 match
         public class FirstJava extends JFrame {
  • TicTacToe/임인택 . . . . 1 match
         public class TicTacToe extends JFrame {
  • TicTacToe/조동영 . . . . 1 match
         public class FirstJava extends JFrame {
  • TicTacToe/조재화,신소영 . . . . 1 match
         public class FirstJava extends JFrame{
  • TicTacToe/후근,자겸 . . . . 1 match
         public class FirstJava extends JFrame{
  • ToyProblems . . . . 1 match
         ToyProblems를 풀면서 접하게 될 패러다임들(아마도): CSP, Generators, Coroutines, Various Forms of Recursion, Functional Programming, OOP, Constraint Programming, State Machine, Event Driven Programming, Metaclass Programming, Code Generation, Data Driven Programming, AOP, Generic Programming, Higher Order Programming, Lazy Evaluation, Declarative Programming, ...
          * 자신이 원하는 언어 (python recommended)
  • TugOfWar/강희경 . . . . 1 match
          list.append(input('Weight: '));
  • TugOfWar/남상협 . . . . 1 match
          numbers.append(0)
  • TugOfWar/신재동 . . . . 1 match
          weights.append(weight)
  • TugOfWar/이승한 . . . . 1 match
          cout<<outA[n]<<" "<<outB[n]<<endl;
  • UDK/2012년스터디 . . . . 1 match
          * [http://udn.epicgames.com/Three/MaterialsCompendiumKR.html 머터리얼 개론] 텍스쳐와 여러 가지 연산 기능을 이용하여 머터리얼 속성을 만듬
          * [http://udn.epicgames.com/Three/MasteringUnrealScriptFunctionsKR.html 언리얼 마스터하기: 언리얼스크립트 함수]
  • UglyNumbers/JuNe . . . . 1 match
          ugs.append(min(ts))
  • UglyNumbers/송지원 . . . . 1 match
          cout << "The " << num << "th ugly number is " << uglyNum(num) << endl;
  • UpgradeC++/과제2 . . . . 1 match
          cout << array[i] << endl;
  • UsenetMacro . . . . 1 match
         function macro_Usenet($formatter, $value)
  • UserStoriesApplied . . . . 1 match
         Mike Cohn's User Stories Applied shows how software teams can drive development through user stories, simple, clear, brief descriptions of functionality valuable to real users. It covers user role modeling, gathering stories, working with managers, trainers, salespeople, and other proxies, writing user stories for acceptance testing, and using stories to prioritize, set schedules, and estimate release costs.
  • VitosFamily/Celfin . . . . 1 match
          cout << sum << endl;
  • VonNeumannAirport/Leonardong . . . . 1 match
          self.matrix.append([0]*numofGates)
  • WERTYU/Celfin . . . . 1 match
          cout << input << endl;
  • WERTYU/문보창 . . . . 1 match
          cout << str << endl;
  • WERTYU/허아영 . . . . 1 match
          cout << endl;
  • WIBRO . . . . 1 match
         http://opendic.naver.com/100/entry.php?entry_id=156106 참고
  • WeightsAndMeasures/김상섭 . . . . 1 match
          sort(test.begin(), test.end(), compare);
  • WeightsAndMeasures/문보창 . . . . 1 match
          cout << result << endl;
  • WikiSandBox . . . . 1 match
          * 여기서는 실제로 "?" 표시를 누르고 한글로도 링크를 만들 수 있는 ExtendedWikiName 을
  • WikiSandPage . . . . 1 match
          cout << "Hello, world~~~" << endl;
  • WindowsConsoleControl . . . . 1 match
         #endif
  • WindowsTemplateLibrary . . . . 1 match
         {{|The Windows Template Library (WTL) is an object-oriented Win32 encapsulation C++ library by Microsoft. The WTL supports an API for use by programmers. It was developed as a light-weight alternative to Microsoft Foundation Classes. WTL extends Microsoft's ATL, another lightweight API for using COM and for creating ActiveX controls. Though created by Microsoft, it is unsupported.
  • XML/PHP . . . . 1 match
         * [http://devzone.zend.com/node/view/id/1713#Heading7 원문] --> php로 xml다루는 방법을 아주 쉽게 설명했네요
  • XMLStudy_2002/XML+CSS . . . . 1 match
         에서는 지원이 되지않기때문에, 현재로서는 여전히 단방향의 end link가 하나로 지정되는 simple link를
  • XOR삼각형/곽세환 . . . . 1 match
          cout << ar[0][0] << endl;
  • Yggdrasil/temp . . . . 1 match
          cout<<endl;
  • Yggdrasil/가속된씨플플/4장 . . . . 1 match
         sort(students.begin(), students.end(), compare);
  • ZIM/ConceptualModel . . . . 1 match
          * '''File Sender''' : File을 보내는 일 담당
  • ZP도서관 . . . . 1 match
         || ExtremeProgramming Installed || Ron Jeffries, Ann Anderson, Chet Hendrickson || Addison-Wesley || 도서관 소장 || 개발방법론 ||
  • ZeroPage/임원/회의 . . . . 1 match
         [[calendar]]
  • [Lovely]boy^_^/USACO/BrokenNecklace . . . . 1 match
          fout << Process() << endl;
  • [Lovely]boy^_^/USACO/GreedyGiftGivers . . . . 1 match
          fout << ManList[i] << " " << List[ManList[i]] << endl;
  • [Lovely]boy^_^/USACO/PrimePalinDromes . . . . 1 match
          fout << i << endl;
  • aekae/* . . . . 1 match
          cout << endl;
  • callusedHand . . . . 1 match
          ''(move to somewhere appropriate plz) 논리학 개론 서적으로는 Irving Copi와 Quine의 서적들(특히 Quine의 책은 대가의 면모를 느끼게 해줍니다), Smullyan의 서적들을 권하고, 논리학에서 특히 전산학과 관련이 깊은 수리논리학 쪽으로는 Mendelson이나 Herbert Enderton의 책을 권합니다. 또, 증명에 관심이 있다면 How to Prove It을 권합니다. 대부분 ["중앙도서관"]에 있습니다. (누가 신청했을까요 :) ) --JuNe''
  • cogitator . . . . 1 match
         zeropage passive attender
  • cookieSend.py . . . . 1 match
          print "------------------------- response end ------------------------------"
  • crossedladder/곽병학 . . . . 1 match
          cout<<std::fixed<<ans<<endl;
  • eXtensibleMarkupLanguage . . . . 1 match
         The Extensible Markup Language (XML) is a W3C-recommended general-purpose markup language for creating special-purpose markup languages, capable of describing many different kinds of data. In other words XML is a way of describing data and an XML file can contain the data too, as in a database. It is a simplified subset of Standard Generalized Markup Language (SGML). Its primary purpose is to facilitate the sharing of data across different systems, particularly systems connected via the Internet. Languages based on XML (for example, Geography Markup Language (GML), RDF/XML, RSS, Atom, MathML, XHTML, SVG, and MusicXML) are defined in a formal way, allowing programs to modify and validate documents in these languages without prior knowledge of their form.
  • erunc0/COM . . . . 1 match
          * 간단한 C++ 클래스로 시작하여 재사용 가능한 이진 Component로써 클래스를 사용하는 법을 간단한 예제를 통해서 배우게 된다. 처음은 DLL을 통해서 client 에게 제공하는 문제에 대해 말하며. 다음에는 이렇게 제공되어진 컴포넌트에 대한 방화벽(?)등에 대해 논의 하면서 인터페이스를 통하여 컴포넌트 내의 은닉화를 위한 방법들을 설명해준다. 그리고 그다음으로는 abstract class를 사용해 (virtual function을 이용한 방법) 인터페이스의 확장에 관한 부분까지 설명한다. 그리고 끝으로는 RTTI 이용하여 더 나은 인터페이스의 확장 방법과 다중의 client 에게 컴포넌트를 제공할수 있게 만드는 부분까지 설명한다. 한서라서 그런지 애매한 용어들이 많이 있어서 아직도 이해가 가질 않는 부분이 많았다. 한번더 chapter 1응 읽은 후에 정리하고 chapter 2로 넘어가야 하겠다.
  • hanoitowertroublesagain/이도현 . . . . 1 match
          cout << process(input) << endl;
  • html5/drag-and-drop . . . . 1 match
         || dragend ||드래그 대상 요소 ||드래그 종료 ||
  • html5/geolocation . . . . 1 match
          namigator.geolocation.getCurrentPosition(function(position){
  • html5/offline-web-application . . . . 1 match
          * '/api/user'나 '/api/friend'등의 URL은 어느 것이든 반드시 온라인으로 액세스하게 된다.
  • html5/richtext-edit . . . . 1 match
          * collapseToEnd() : 선택된 텍스트의 맨 뒤로 커서를 이동시킴
         window.addEventListener("undo", function(event) {
  • matlab . . . . 1 match
          end
  • pragma . . . . 1 match
         Each implementation of C and C++ supports some features unique to its host machine or operating system. Some programs, for instance, need to exercise precise control over the memory areas where data is placed or to control the way certain functions receive parameters. The #pragma directives offer a way for each compiler to offer machine- and operating-system-specific features while retaining overall compatibility with the C and C++ languages. Pragmas are machine- or operating-system-specific by definition, and are usually different for every compiler.
  • randomwalk/홍선 . . . . 1 match
          cout << endl;
  • vending machine . . . . 1 match
         DeleteMe) rename or modify : 일단 ZeroPage 에서 작성했었던 VendingMachine 과는 다른 Spec 이여서 이 위키에서는 맞지 않은듯 합니다. 어떤 분이 작성하신건가요? --[1002]
  • whiteblue/LinkedListAddressMemo . . . . 1 match
          cout << "○" << temp->name << "\t" << temp->address << "\t" << temp->addressNumber << endl;
  • whiteblue/만년달력 . . . . 1 match
          cout << "일\t월\t화\t수\t목\t금\t토" << endl;
  • wiz네처음화면 . . . . 1 match
          * English music - singer : sweet box, toxic recommended by Ah young.
  • woodpage/VisualC++HotKeyTip . . . . 1 match
          *#ifdef 와 #endif의 짝을 찾아줌
  • 고한종/배열을이용한구구단과제 . . . . 1 match
          //code zone is end.
  • 그래픽스세미나/2주차 . . . . 1 match
         || 김창성 || Upload:Blending.zip ||
  • 그래픽스세미나/3주차 . . . . 1 match
          friend CGX_Vector<T> operator-(CGX_Vector<T> in);
  • 금고/문보창 . . . . 1 match
          cout << d[n][k] << endl;
  • 금고/하기웅 . . . . 1 match
          cout << calculate(nFloor, nSaver) <<endl;
  • 기억 . . . . 1 match
          i. 감정 : 정의가(affective value)-감정이 극단 적인것이 더 잘기억, 기분 일치(mood congruence)-사람의 성격에 따라 기억 되는 단어, 상태 의존(state dependence)-술취한 사람, 학습 자세
  • 김희성/ShortCoding/최대공약수 . . . . 1 match
          '''컴파일러''' - gcc 컴파일러는 사용된 function을 확인하여 필요한 header file을 자동으로 include 해줍니다. 또한 gcc 컴파일러는 타입이 선언되지 않은 변수는 int형으로 처리합니다. 이로인해서 main의 본래 형식은 int main(int,char**)이지만 변수형을 선언하지 않으면 두번째 인자도 int형으로 처리됩니다.
  • 데블스캠프2003/ToyProblems . . . . 1 match
         vending machine
         FileInputOutput [파일입출력] RandomFunction
  • 데블스캠프2005/RUR-PLE/Harvest/김태훈-zyint . . . . 1 match
         # Function Definitions #
         #move get function
  • 데블스캠프2005/java . . . . 1 match
         According to the available accounts, Bill Joy had ideas of a new language combining the best of Mesa and C. He proposed, in a paper called Further, to Sun that its engineers should produce an object-oriented environment based on C++. James Gosling's frustrations with C++ began while working on Imagination, an SGML editor. Initially, James attempted to modify and extend C++, which he referred to as C++ ++ -- (which is a play on the name of C++ meaning 'C++ plus some good things, and minus some bad things'), but soon abandoned that in favor of creating an entirely new language, called Oak named after the oak tree that stood just outside his office.
  • 데블스캠프2005/게임만들기/제작과정예제 . . . . 1 match
          game_end();
  • 데블스캠프2005/금요일/OneCard . . . . 1 match
          cards.append(Card(shape, number))
  • 데블스캠프2006/SVN . . . . 1 match
         Some other functions.
  • 데블스캠프2006/월요일/연습문제/if-else/성우용 . . . . 1 match
          cout<<"정수를 입력하세요."<<endl;
  • 데블스캠프2006/월요일/연습문제/switch/김준석 . . . . 1 match
          cout << "잘못 했습니다 다시 해주세요" <<endl; continue;
  • 데블스캠프2006/월요일/연습문제/switch/이장길 . . . . 1 match
          cout<<char('A'+i)<<" --> "<<*(n+i)<<endl;
  • 데블스캠프2006/월요일/연습문제/기타문제/김준석 . . . . 1 match
          cout << i <<endl;
  • 데블스캠프2006/월요일/연습문제/기타문제/임다찬 . . . . 1 match
          cout << i <<endl;
  • 데블스캠프2006/화요일/pointer/문제2/이장길 . . . . 1 match
          cout << reverse << endl;
  • 데블스캠프2006/화요일/pointer/문제3/이송희 . . . . 1 match
          cout << endl;
  • 데블스캠프2006/화요일/pointer/문제3/정승희 . . . . 1 match
          cout<<a[i]<<" + "<<b[i]<<" = "<<c[i]<<endl;
  • 데블스캠프2006/화요일/pointer/문제4/이송희 . . . . 1 match
          cout << result << endl;
  • 데블스캠프2006/화요일/tar/김준석 . . . . 1 match
          else cout << "devil27_tar_untar [아카이브명] [압축할파일리스트]... 형식으로 해주세요.\n" << endl;
  • 데블스캠프2011/넷째날/Android/송지원 . . . . 1 match
         public class DevilsCampAndroidActivity extends Activity implements OnClickListener {
  • 데블스캠프2011/넷째날/Git/권순의 . . . . 1 match
          cout << "Fail to Load File" << endl;
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission1/김준석 . . . . 1 match
         private void pushButton_Click(object sender, EventArgs e)
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission1/서영주 . . . . 1 match
         private void pushButton_Click(object sender, EventArgs e)
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission2/서민관 . . . . 1 match
         private void pushButton_Click(object sender, EventArgs e)
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission3/서민관 . . . . 1 match
         private void timer1_Tick(object sender, EventArgs e)
  • 데블스캠프2012/셋째날/코드 . . . . 1 match
         NEvent.addListener(myMark,"mouseover",function(){alert("Zeropage");});
  • 랜웍/이진훈 . . . . 1 match
          cout << endl;
  • 레밍즈프로젝트/프로토타입/MFC더블버퍼링 . . . . 1 match
          //end DoubleBuffering
  • 로마숫자바꾸기/DamienRice . . . . 1 match
          end.
  • 마방진/Leonardong . . . . 1 match
          cout << endl;
  • 마방진/곽세환 . . . . 1 match
          cout << endl;
  • 마방진/김아영 . . . . 1 match
          cout<<endl;
  • 마방진/문원명 . . . . 1 match
          cout << endl;
  • 마방진/민강근 . . . . 1 match
          cout<<endl;
  • 마방진/변준원 . . . . 1 match
          cout<<endl;
  • 마방진/임민수 . . . . 1 match
          cout << endl;
  • 마방진/장창재 . . . . 1 match
          cout << endl;
  • 마방진/조재화 . . . . 1 match
          cout<<endl;
  • 만년달력/영동 . . . . 1 match
         public class EternalCalendar
  • 몸짱프로젝트/InfixToPostfix . . . . 1 match
         #endif
  • 몸짱프로젝트/InfixToPrefix . . . . 1 match
          self.list.append(aToken)
  • 문자반대출력/남도연 . . . . 1 match
          cout<<munja<<endl;
  • 문자반대출력/조현태 . . . . 1 match
          inputFile.seekg(0,ios_base::end);
  • 미로찾기/곽세환 . . . . 1 match
          cout << endl;
  • 반복문자열/고준영 . . . . 1 match
         function output()
  • 반복문자열/김영록 . . . . 1 match
          cout << "CAUCSE LOVE." << endl ;
  • 반복문자열/남도연 . . . . 1 match
          cout<<"CAUCSE LOVE"<<endl;
  • 빵페이지/소수출력 . . . . 1 match
          cout << endl;
  • 사랑방 . . . . 1 match
         purely functional language - Haskell 로 구현한 quick sort algorithm..
  • 새싹교실/2011/Noname . . . . 1 match
          자료형 함수명(배개변수){
  • 새싹교실/2011/學高/7회차 . . . . 1 match
          * function: concept, grammar, system stack etc.
  • 새싹교실/2011/데미안반 . . . . 1 match
          * [박성국] - ^오늘은 함수에 대해서 자세히 배우고 그에 필요한 지식인 지역변수 전역변수 static변수에 대해 자세히 배웠습니다.^ 하나하나 배우면서 C언어어에 대한 자신감을 가졌습니다. 특히 Recursive function에 대해 정확한 이해를 통하여 활용할 수 있게 되었습니다. 항상 스펀지같이 쏙쏙 머리속에 들어오는 수업 감사합니다.
          * Function Call Stack
  • 새싹교실/2011/씨언어발전/3회차 . . . . 1 match
         return_type function_name (data_type variable_name, …)
  • 새싹교실/2011/앞반뒷반그리고App반 . . . . 1 match
          Assertion failed: (n>100), function main, 과 같이 오류뜨면서 프로그램이 종료됨.
  • 새싹교실/2012/ABC반 . . . . 1 match
         int myfunction(int a, int b); 라고 하면 int 자료형을 반환하며 int자료형 2개를 파라미터로 하는 myfuction이라는 함수를 정의한 것이다.
  • 서지혜 . . . . 1 match
          1. Hannibal Rss Recommendation
  • 선희/짜다 만 소스 . . . . 1 match
         Upload:Calendar_SUNNY.cpp
  • 수/구구단출력 . . . . 1 match
         변수명은 가능하면 a,b 나 i,j 같이 이름만 보고 무슨 의미인지 알기 힘들게 짓기 보다는 조금 더 길어지더라도 이름만 보고 이게 무슨 역할을 하는 변수명이구나 하고 알수 있게 짓는 버릇을 들이는게 좋다. 주석이 필요 없을 정도로 변수명 함수명만 보고 이게 무슨 일을 하는 변수, 함수 이다라고 알수 있게 하면 더 더욱 좋다. - [상협]
  • 숫자야구/ 변준원 . . . . 1 match
          cout << S <<" S " << B <<" B " <<endl;
  • 숫자야구/민강근 . . . . 1 match
          cout<<st<<"스트라이크 "<<ba<<"볼 입니다."<<endl;
  • 스터디그룹패턴언어 . . . . 1 match
          * [지속적인에너지패턴](EnduringEnergyPattern)
          * [아젠더패턴] AgendaPattern
  • 쓰레드에관한잡담 . . . . 1 match
         function에 argument를 넘기는 것은 stack에 관계된 것이고, 개개의 쓰레드는 각각의 stack을 가지고 있을텐데. 아직 생각중이다.
  • 아젠더패턴 . . . . 1 match
         아젠더(Agenda)가 없는 스터디 그룹이나 소그룹(SubGroupPattern)은 없다. 이 아젠더는 그룹 목표의 틀을 잡아주며, 멤버들이 일찌감치 준비하도록 해주며 사람들이 참여할 모임을 선택할 수 있는 기회를 준다.
  • 알고리즘2주숙제 . . . . 1 match
         === Generating Function ===
         세로가 3 가로가 n(2의 배수)인 상자가 있다. 여기에 크가가 2*1인 레고를 채울려고 한다. 가로가 n일때 빈칸 없이 가득채울수 있는 모양의 개수를 클로즈폼으로 구하시오.(Generating Function으로 구하시오)
         === Generating Function ===
         From Concrete Mathematics, Chapter 7. Generating Function
         5. Let us use a generating function to find a formula for s<sub>n</sub>, where s<sub>0</sub> = s<sub>1</sub> = 1, and s<sub>n</sub> = -s<sub>n-1</sub> + 6s<sub>n-2</sub> for n ≥ 2.
  • 알고리즘5주숙제/하기웅 . . . . 1 match
          cout << pi <<endl;
  • 알고리즘8주숙제 . . . . 1 match
         ==== 1. Friendly Coins ====
  • 압축알고리즘/수진&재동 . . . . 1 match
          cout << endl;
  • 압축알고리즘/슬이,진영 . . . . 1 match
          cout <<"이제부터 해제합니다."<< endl;
  • 양쪽의 클래스를 참조 필요시 . . . . 1 match
         2. pWnd->SendMessage(MESSAGE_ID)
  • 영어단어끝말잇기 . . . . 1 match
          8.end
  • 이승한/java . . . . 1 match
         클래스 관련 키워드 ; class, abstract, interface, extends, implements
  • 이영호/64bit컴퓨터와그에따른공부방향 . . . . 1 match
          * 어떻게 하면 확장성과 교체성이 뛰어나고 코드 상의 중복이나 Dependency 문제를 적게 일으키는 모듈을 만들어낼까?
  • 이영호/개인공부일기장 . . . . 1 match
         21 (목) - Compilers, C++공부 시작(C++자체가 쉬워 7일만에 끝낼거 같음. -> C언어를 안다고 가정하고 C++를 가르쳐 주는 책을 보기 시작.), 기본문법, namespace, function overloading, class 추상화, 은닉성까지 완벽하게 정리.
  • 인터프리터/권정욱 . . . . 1 match
          if ((i%10) == 0) cout << endl;
  • 임베디드방향과가능성/정보 . . . . 1 match
         예전부터 임베디드는 결국 pc의 재탕이다..라고 하셨는데 물론 100% 맞는 말씀입니다. 20년~15년 전의 기술, 빌게이츠가 dos를 가지고 pc산업을 일으켰던 그 기술이 결국 임베디드 아니냐..?라고 하시면 이 역시 맞는 말씀입니다. 그리고 이것은 결국 임베디드가 옛날 기술, 옛것의 재탕이다..라는 말씀이시죠.. 하지만 그렇게 따진다면 전기공학은 100년전 것의 재탕삼탕이고 이동통신(ldpc)이나 ASIC backend 관련 tools(synthesis,testing)도 대부분 이론은 20~40년전에 완성된 분야구요. 오히려 임베디드는 80년부터 이어져온 비교적 신기술(?)이 적용된 분야라 생각되는군요. 먼저 이런 말씀을 드린 이유는 임베디드 분야의 기술에 관해 조금 비관적인 생각을 가지신 것 같아서 입니다.
  • 임인택/내손을거친책들 . . . . 1 match
          * Introduction to Functional Programming using Haskell
          * An introduction to functional programming through lambda calculus
  • 자료병합하기 . . . . 1 match
         a,b 데이터를 크기 순서로 (Ascending) 병합(Merge)하는 프로그램을 작성하여라.
  • 자료병합하기/임인택 . . . . 1 match
         === haskell built-in 함수와 lambda function 이용 ===
  • 전문가의명암 . . . . 1 match
         NoSmok:AlfredNorthWhitehead''''''는 ''Civilization advances by extending the number of important operations which we can perform without thinking of them.''라는 명언을 남겼다.
  • 정규표현식/스터디/반복찾기/예제 . . . . 1 match
         calendar emacs hdparm.conf libpaper.d obex-data-server rc4.d sudoers.d
  • 정렬/Leonardong . . . . 1 match
          fout << sorted[i-1] << endl;
  • 정렬/aekae . . . . 1 match
          fout << number[i] << endl;
  • 정렬/강희경 . . . . 1 match
          fout<<endl;
  • 정렬/곽세환 . . . . 1 match
          fout << data[i] << endl;
  • 정렬/문원명 . . . . 1 match
          fout<<arr[k]<< endl;
  • 정렬/민강근 . . . . 1 match
          fout << ar[p]<<endl;
  • 정렬/방선희 . . . . 1 match
          fout << arr[i] << endl;
  • 정렬/변준원 . . . . 1 match
          fout << sorted[i] << endl;
  • 정렬/장창재 . . . . 1 match
          fout << array[ar] << endl;
  • 정렬/조재화 . . . . 1 match
          fout << sort[d] << endl;
  • 정모/2006.1.19 . . . . 1 match
         sock.send("여기다가 좌표 데이터를 넣으면 됨")
  • 정모/2011.10.5 . . . . 1 match
          * 오늘은 정모 중간에 나가야해서 아쉬웠지요 ㅠㅠㅠ 지원이누나가 해주신 세미나는 오늘 날 물먹인 아이폰의 대항마라 생각해서 재밌게(?) 들었네요. 아아니 그게 아이언맨을 모토로 한거라니.. 이상과 현실의 괴리?? 그리고 민규의 세미나도 민규가 저런걸 할거란걸 기대하지 않고 갔는데 꽤나 유익한 걸 설명해주어서 정말 재밌었어요.(Blender를 배우고 있는데 이게 참 쉽지가 않더라구요) 아, 요새 후기가 많이 올라오지 않아 아쉽기도 한데 다들 잘 올려주시면 좋겠어요~ + 저랑 진경이(with 진규) 다음달에 대전갑니다! -[김태진]
  • 정모/2011.4.11 . . . . 1 match
          * 이번 정모에는 11학번 학우분들이 참여하여 반가웠습니다. Ice Breaking때는 화기애애한 분위기가 마음에 들었습니다. 다들 웃으면서 ㅎㅎ 재미있는 시간이었던 것 같습니다. 일일 퍼실리테이터... 어떤 느낌일지는 모르겠지만 한번 해 보는 것도 재밌지 않을까라는 생각도 했습니다. 이번 OMS를 진행하면서.. 음... 역시 배경이 문제였었던 같습니다 -ㅅ-;; 그리고 생각했던거 보다 머리속에 있는 말이 입 밖으로 잘 나오지를 않아가지고 제가 생각했던 것들을 모두 전달하지 못했던 것 같습니다. 사실 음악을 좋아하다 보니까 영화나 TV를 보다가 아는 음악이 나오면 혼자 반가워 하고 그랬는데,, 그 안에 있는 의미를 찾아보는 일은 많이 하지 않았었습니다. 다만, 이런걸 해 보겠다고 생각했던게 아이언맨 2 보다가 (보여드렸던 장면에서) 처음에는 Queen의 You're my Best Friend라는 노래로 생각하고 저 장면과 되게 모순이다라고 생각했었는데 그 노래가 아니라 다른 노래라 조금 당황했던 것도 있고, 노래 가사를 보면서 아 이런 의미가 있을 수도 있겠구나 라는 생각을 했습니다. 그래서 이것 저것 찾아보게 되었던 것이 계기가 되었던 것 같습니다. 그리고 이번 스피드 퀴즈는 그동한 제로페이지에서 했던 것들이 많았구나 라는 생각과 함께, 제가 설명하는데 윤종하 게임이 나올줄이야 이러면서 -ㅅ-;; ㅋㅋㅋ 마지막으로 다음주 소풍 기대되네요 ㅋ - [권순의]
  • 정모/2012.1.6 . . . . 1 match
          * [http://valleyinside.com/2012-technology-trend/ 2012년 기술 트렌드]
  • 정모/2012.3.12 . . . . 1 match
          * 어떻게 될지는 모르겠지만 friendship, 과학기술동아리 지원 등 ZeroPage가 지원받을만한 프로그램들이 많이 있네요. 이런 저런 기회들이 많이 보이는 것이 좋습니다. 외부에서 동아리 지원 프로그램을 운영하는 것이 좋다기보다는 이런 기회가 있다는 걸 모르고 지나치지 않는 ZeroPage가 좋아요. - [김수경]
  • 정모/2012.4.2 . . . . 1 match
          * 회고하면서 friendship에 쓸 내용도 함께 쓰는 아이디어 좋은 것 같아요. 회장 혼자 일하는 거 보다 나눠서 쓰는게 나으니까 ㅋㅋ 써달라고 말만 하면 보통 안 쓸텐데 이렇게 정모에서 쓰게하는 건 좋은 방법이네요.
  • 정모/2012.4.9 . . . . 1 match
          * 드디어 학회실 정리를 했습니다. ..뭐 완전히 된거도 아니고 아직 잡다한 물건도 없지만 그런거야 점점 채워나가고 정리해나가면 되지 않을까요. ㅎㅎㅎ 1월부터 계속 준비해오던 것 중 하나가 드디어 결실을 맺어 다행이에요. 이제 수요일까지 써야하는 Friendship 지원서만 써내면 제 공약(?)중 하나인 ZP학회실 확보 + ZP부자페이지 만들기 를 실천하게 되는군요.!! ㅋㅋ - [김태진]
  • 정모/2012.9.24 . . . . 1 match
          * SSM Friendship
  • 정모/2013.5.6/CodeRace . . . . 1 match
          for(i=0;i'=A' && input[i]<='Z')|| (input[i]>='a' &&input[i]<=end.'z'))
  • 정모/2013.7.15 . . . . 1 match
         == 삼성 S/W FriendShip ==
  • 정모/2013.9.4 . . . . 1 match
          * 클린 코드 : SRP(Single Responsibility Principle), DIP(Dependency Inversion Principle) 방식을 공부하였고 디자인패턴 중 템플릿 메소드에 대해서 공부하였습니다.그리고 스레드에 대해서 공부 하였습니다. trello와 github연동하는 방법이 있습니다.상당히 유용할 것같으므로 관심있으신분들은 조금만 찿아보시면 쉽게 하실수있습니다.
  • 제12회 한국자바개발자 컨퍼런스 후기/유상민의후기 . . . . 1 match
          * http://vizend.tistory.com
  • 제13회 한국게임컨퍼런스 후기 . . . . 1 match
         || 14:40 – 15:40 || 키노트 2 - 가상현실과 게임의 미래 || Brendan Iribe(Oculus VR) || ||
  • 조영준 . . . . 1 match
          * Google I/O 2015 Extended Seoul 참여
  • 진법바꾸기/문보창 . . . . 1 match
          bool isEnd = false;
          while (isEnd == false)
          isEnd = input(num, base);
          cout << endl;
  • 최소정수의합/남도연 . . . . 1 match
          cout<<"n="<<n<<"sum="<<sum<<endl;
  • 최소정수의합/문보창 . . . . 1 match
         inline void show_min_sum(int n) { cout << n << " " << (n * n + n) / 2 << endl; }
  • 캠이랑놀자/051228 . . . . 1 match
         === overlap (blending) ===
  • 캠이랑놀자/051229 . . . . 1 match
         == Alpha-Blending ==
  • 컴퓨터공부지도 . . . . 1 match
         예전에 Windows Programming 을 배운다고 한다면 기본적으로 GUI Programming 을 의미했다. Windows 가 기본적으로 GUI OS 이기에 기본이 이것이라고 생각하는 것이다. 하지만, GUI 는 어디까지나 'User Interface' 이다. 즉, 이건 Input/Output 에 대한 선택사항이다. 필요할때 공부하자. (하지만, 보통 User-Friendly 한 프로그램들은 대부분 GUI 이다.)
  • 코바예제/시계 . . . . 1 match
         class ObjTimeServerImpl extends TestTimeServer.ObjTimeServer_Skeleton {
  • 큰수찾아저장하기/김태훈zyint . . . . 1 match
         //// Functions ///////////////////////////////////////////////////////////
         #endif //DEBUG
         //// Functions ///////////////////////////////////////////////////////////
  • 큰수찾아저장하기/문보창 . . . . 1 match
          cout << endl;
  • 튜터링/2013/Assembly . . . . 1 match
          * Virtual, 2진수, 메모리 공간, ALU연산, Pipeline, Multitasking, 보호모드, Little-endian, RISC&CISC
  • 파스칼삼각형/aekae . . . . 1 match
          cout << arr[row][col] << endl;
  • 파스칼삼각형/sksmsvlxk . . . . 1 match
          cout << endl;
  • 파스칼삼각형/곽세환 . . . . 1 match
          cout << f(c, r) << endl;
  • 파스칼삼각형/문원명 . . . . 1 match
          cout << res << endl;
  • 파스칼삼각형/변형진 . . . . 1 match
         function factorial($n)
  • 파스칼삼각형/손동일 . . . . 1 match
          cout << "숫자를 입력 하세요~ " << endl;
  • 파스칼삼각형/송지원 . . . . 1 match
          cout << endl;
  • 파스칼삼각형/윤종하 . . . . 1 match
          cout<<endl;
  • 파스칼의삼각형/조재화 . . . . 1 match
          cout<<pa(a, b)<<endl ;
  • 파이썬->exe . . . . 1 match
         sys.argv.extend(['--packages', 'win32com'])
  • 파일 입출력 . . . . 1 match
          cout << endl;
  • 파일자료 . . . . 1 match
         Upload:functionMaking.cpp
  • 프로그래밍/ACM . . . . 1 match
          buffer.append((char)car);
  • 프로젝트기록의필수요소토론 . . . . 1 match
         [1002] 한가지 더 지적한다면, 해당 토론 또한 기간이 있어야 할 것 같다는 생각. --; (사람들이 이야기는 많지만, 정작 '어떻게 하자', '예. 동감합니다', '아니요. 그건 그렇게 생각하지 않습니다', '이러이러한 방향이 더 좋겠습니다' 라는 이야기를 안하니. -_-;) 기간이 길어지고 아무 이야기 없으면 해당 주제에 대한 결론을 영원히 유보해야 하겠습니까.. 쩝. 전에도 이야기 했지만, WIKI 자주 이용해주시고, 불편하시면 다른쪽 게시판이나 해당 사람에게 e-mail 로 답변을 주시기를. (동보메일이라도 보낼까요? --a ZP 에 sendmail 이 돌고있던가 기억이 안나는군. --;)
  • 피보나치/aekae . . . . 1 match
          cout << fivo(input) << endl;
  • 피보나치/고준영 . . . . 1 match
          function pibo($n)
  • 피보나치/곽세환 . . . . 1 match
          cout << endl;
  • 피보나치/김상윤 . . . . 1 match
          cout << endl;
  • 피보나치/문원명 . . . . 1 match
          cout<<in<<"번째는 "<<out<<endl;
  • 피보나치/민강근 . . . . 1 match
          cout<<pi(y) << endl;
  • 피보나치/변형진 . . . . 1 match
         function pibo($a,$b,$c){
  • 피보나치/장창재 . . . . 1 match
          cout << a << "번째 값은 = " << result << endl;
  • 피보나치/조재화 . . . . 1 match
          cout<<endl;
  • 하드웨어에따른프로그램의속도차이해결 . . . . 1 match
          * hardware independent하게 게임속도를 유지하려면 매프레임 그릴때마다 이전프레임과의 시간간격을 받아와서 거기에 velocity를 곱해 position을 update하는 식으로 해야한다. 타이머를 하나 만들어 보자.
  • 헝가리안표기법 . . . . 1 match
         || pfn || * || function pointer || int (*pifnFunc1)(int x, int y) ||
  • 호너의법칙/박영창 . . . . 1 match
          std::cout<<horner_func(x_param, coefficient, 0)<<std::endl;
Found 1327 matching pages out of 7540 total pages (5000 pages are searched)

You can also click here to search title.

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
Processing time 1.9327 sec